preprocessor directive in 3.2 does not ignore "undefined" directives
LLeweLLyn Reese
llewelly@lifesupport.shutdown.com
Wed Jul 30 14:35:00 GMT 2003
"x z" <hzmonte@hotmail.com> writes:
> I have a .c file that has statements like this:
> #node "node.file"
>
> When I use the gcc 2.8.1 preprocessor gcc -E, the output keeps this
> statement intact.
> When I use the gcc 3.2.2 preprocessor gcc -E, it complains about
> Invalid preprocessor directive.
The manual for gcc 3.2.3's preprocessor is here:
http://gcc.gnu.org/onlinedocs/gcc-3.2.3/cpp/
>
> How can I make the gcc 3.2.2 preprocessor keep this statement intact
> in the output file?
The C preprocessor is only intended for use with C code.
'#node "node.file"' is not C. So I don't think what you are trying
to do is supported, but if you read the manual you may find a way
to do it.
>
> Please respond to this e mail address. I have no idea whether
> gcc-help@gcc.gnu.org is a mailing list that can be subscribed by
> users, and if so, how. Thank you.
You can subscribe to gcc-help at:
http://gcc.gnu.org/ml
You can also read the archives of gcc-help from there.
More information about the Gcc-help
mailing list