This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Define _XOPEN_SOURCE to 500 in gthr-posix.h


* Andreas Schwab:

> Such feature test macros should only be defined before the inclusion of
> the first system header.  Definining them later results in undefined
> behaviour.

And what's worse: This header can be included indirectly in user
programs.  The offending function calls really need to be moved into
some library.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]