CPP macro expansion
Falk Hueffner
falk.hueffner@student.uni-tuebingen.de
Tue Nov 4 20:18:00 GMT 2003
Roberto Fichera <robyf@tekno-soft.it> writes:
> I need to obtain a preprocessed C source output, the source
> code that will go to the gcc compiler proper, with all the macro
> functions expanded as declared with its multi line formatting/indentation
> and not as usual single long line. I need to check my final code before
> the full compilation.
>
> Does anyone know how can I do ?
> Does the GNU CPP permit this ?
No.
> If not :-( there is some similar C preprocessor that perform what I
> need ?
You could try running indent on the result.
--
Falk
More information about the Gcc-help
mailing list