Re: preprocessor directive in 3.2 does not ignore "undefined" directives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"x z" <hzmonte@xxxxxxxxxxx> 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@xxxxxxxxxxx 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.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux