On Fri, 03 Apr 2015 15:17:59 -0700, Philip Guenther wrote: > ** it would only help someone building with something like "cc > -D_POSIX_C_SOURCE=199506 -D_BSD_SOURCE=1" which, IMHO, is insane.
Why is it insane to want a specific POSIX version plus BSD extensions? There are two ways to use things like _POSIX_C_SOURCE. 1) *Only* expose interfaces defined by a specific version of the spec 2) Expose all interfaces defined by a specific version of the spec, even if they are not exposed by default. Since we always expose the latest POSIX APIs by default #1 is what we think about. However, there are other systems that *only* expose some APIs when _POSIX_C_SOURCE is defined (I'm looking at you Solaris). On those systems it is not uncommon to define _POSIX_C_SOURCE in addition to another symbol to expose non-POSIX extensions. - todd
