This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Preprocess, but do not expand macros?
- From: Gokhan Kisacikoglu <kisa at centropolisfx dot com>
- To: Larry Riedel <larryr at saturn dot sdsu dot edu>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 02 Jul 2002 17:43:59 -0700
- Subject: Re: Preprocess, but do not expand macros?
- Organization: Centropolis Effects, LLC
- References: <20020703001242.31210.qmail@home18.riedel.org>
- Reply-to: kisa at centropolisfx dot com
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