Should _GNU_SOURCE be defined always?

Neil Booth neil@daikokuya.demon.co.uk
Sun Feb 17 07:05:00 GMT 2002


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.



More information about the Gcc mailing list