This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gcc -E -traditional broken
- To: Andreas Jaeger <aj at suse dot de>
- Subject: Re: gcc -E -traditional broken
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Date: Sun, 10 Dec 2000 18:01:37 +0000
- Cc: gcc-bugs at gcc dot gnu dot org, Zack Weinberg <zackw at Stanford dot EDU>
- References: <u8u28c71cx.fsf@gromit.rhein-neckar.de>
Andreas Jaeger wrote:-
> t.c:1: Invalid token in expression
> # 1 "t.c"
[...]
> t.c is just the following small fragment:
> #if defined REGPARMS
> # warning "quark"
> #endif
It looks to me like traditional cpp has never accepted this syntax.
You need to use the "defined (symbol)" syntax; it then works.
Is this intentional, Zack?
Neil.