This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: C preprocessor problem
- From: lrtaylor at micron dot com
- To: <bansidhara at ctd dot hcltech dot com>, <gcc-help at gcc dot gnu dot org>
- Date: Thu, 16 Oct 2003 09:48:50 -0600
- Subject: RE: C preprocessor problem
This sounds more like the option would keep GCC from automatically
defining certain macros that it would normally define by default (GCC
defines certain default macros before ever parsing any source code), but
that are not "standard", rather than undefining macros that you have
explicitly defined on the command line. If that's the correct
interpretation of this argument, then it is behaving as expected with
respect to your macro.
-----Original Message-----
From: Bansidhar Arvind Deshpande - CTD, Chennai.
[mailto:bansidhara@ctd.hcltech.com]
Sent: Thursday, October 16, 2003 2:50 AM
To: GNU GCC
Subject: C preprocessor problem
continuing my previous mail. (I regret the inconvenience)
GNU manual says about -undef as follows
-undef
Do not predefine any nonstandard macros.
I am using gcc 2.96