This is the mail archive of the gcc@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: Should _GNU_SOURCE be defined always?


Carlo Wood wrote:-

> The following program:
> 
> ---
> #define _GNU_SOURCE
> ---
> 
> Gives different results with different compilers:

Careful, 2.96 (maybe) through 3.0.2 only warned about redefinitions
if -pedantic.  This was a bug.

Neil.


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