POSIX_C_SOURCE

Garrett Wollman wollman at khavrinen.lcs.mit.edu
Sat Aug 30 09:49:20 PDT 2003


In article <20030830161813.GA28890 at twisted.net> you write:

>Any chance that someone will finally commit the fixes to prevent the
>POSIX_C_SOURCE warnings from showing up? I saw a number of posts on this
>topic, but it still seems like it's not "officially committed"

>/usr/include/sys/cdefs.h:273: warning: `_POSIX_C_SOURCE' is not defined
>/usr/include/sys/cdefs.h:279: warning: `_POSIX_C_SOURCE' is not defined

The warnings are wrong,[1] so you should probably ask the GCC people
about that.

-GAWollman

[1] That is to say, any identifier used in a preprocessor expression
(after macro expansion) is defined to have a value of zero, and GCC
should not be complaining about this.



More information about the freebsd-stable mailing list