[hurd,commited] hurd: do not check Mach and Hurd headers

Samuel Thibault samuel.thibault@ens-lyon.org
Sat Mar 3 22:32:00 GMT 2018


Hello,

Joseph Myers, on sam. 03 mars 2018 22:08:49 +0000, wrote:
> On Sat, 3 Mar 2018, Samuel Thibault wrote:
> 
> > as they are not standard.
> 
> That's not a sufficient reason for this change.  What this script is 
> checking is nothing to do with whether the headers are standard; it's that 
> each header can be included in isolation with any supported feature test 
> macro defined (actually, just a few macros are tested) and in any C/C++ 
> standards mode.

Well hurd & mach headers are not meant to be used without _GNU_SOURCE=1,
for a start...  Usual applications wouldn't use them anyway, only things
like e.g. libparted, Xorg, etc. which need to interact closely with
system things use them, and thus have to enable the GNU extensions.  You
can think of them like linux/ headers.

Samuel



More information about the Libc-alpha mailing list