gcc-2.95.2 pre-processor bug
Tom Williams
tom.williams@diversifiedsoftware.com
Mon Jan 3 09:42:00 GMT 2000
Thanks for the reply. I also found this out after doing a little more
poking around after sending the bug report. I also want to thank you for
not slamming me. Ulrich Drepper, of the glibc development team, slammed me
pretty good for not reading the glibc manual, which documents this
apparently.
Peace......
Tom
"Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de> on 01/02/2000
05:24:12 PM
To: Tom Williams/HQ/dssi
cc: bug-gcc@gnu.org
Subject: Re: gcc-2.95.2 pre-processor bug
> Hi! I would like to report a pre-processor bug when trying to define the
> "__USE_GNU" macro. Basically, when I pass -D__USE_GNU to gcc on the
> command line, "__USE_GNU" does not get defined.
Thanks for your bug report. This is not a bug in gcc; please use 'gcc
-v -D__USE_GNU -c usegnu.c' to see how __USE_GNU is passed to the
preprocessor.
Also have a look at /usr/include/features.h, and see how __USE_GNU
gets #undefined. Use 'gcc -E -g3' to see which defines are made at
what location.
To use GNU features in your source, please -D_GNU_SOURCE.
Hope this helps,
Martin
More information about the Gcc-bugs
mailing list