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: Preprocess, but do not expand macros?


Well the macros, namely "define" statements, are part of the
preprocessor directives. I never heard of the execution of the
preprocessor directives partially in the way you describe...

Gokhan

Larry Riedel wrote:
> 
> Is there a simple way for me to tell gcc/cpp to run
> the preprocessor, but do nothing more than remove the
> code which would not be present after if/ifdef/ifndef?
> I can do "gcc -E" but that expands macros, puts line
> numbers in, etc.
> 
> Larry


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