This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-2.95.2 pre-processor bug
- To: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Subject: Re: gcc-2.95.2 pre-processor bug
- From: "Tom Williams" <tom dot williams at diversifiedsoftware dot com>
- Date: Mon, 3 Jan 2000 08:34:16 -0800
- cc: bug-gcc at gnu dot org
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