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: tom dot williams at diversifiedsoftware dot com
- Subject: Re: gcc-2.95.2 pre-processor bug
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Mon, 3 Jan 2000 02:24:12 +0100
- CC: bug-gcc at gnu dot org
- References: <8825685A.006E29F1.00@notesgw1.dssi-jcl.com>
> 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