Should _GNU_SOURCE be defined always?

Carlo Wood carlo@alinoe.com
Sun Feb 17 08:11:00 GMT 2002


On Sun, Feb 17, 2002 at 02:56:27PM +0000, Neil Booth wrote:
> Careful, 2.96 (maybe) through 3.0.2 only warned about redefinitions
> if -pedantic.  This was a bug.

Ah, ok.  You're right - _GNU_SOURCE is defined as of 3.0
(not in 2.96 or 2.95.x).

Nevertheless, my question: Can I count on it that will
stay defined in all future versions of gcc?

-- 
Carlo Wood <carlo@alinoe.com>



More information about the Gcc mailing list