This is the mail archive of the gcc-help@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: _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


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