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: 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 


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