This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: _GNU_SOURCE placement
- From: Eljay Love-Jensen <eljay at adobe dot com>
- To: Baurjan Ismagulov <ibr at ata dot cs dot hun dot edu dot tr>, gcc-help at gcc dot gnu dot org
- Date: Mon, 25 Nov 2002 09:39:27 -0600
- Subject: Re: _GNU_SOURCE placement
Hi Baurjan,
Just guessing...
I suspect that <locale.h> somehow includes <signal.h>.
Most header files have sentinels that only allow them to be included once.
So by the time you define _GNU_SOURCE and include signal.h, it's too late
and things have already gone awry.
--Eljay