This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: gcc -E -traditional broken
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Subject: Re: gcc -E -traditional broken
- From: Andreas Jaeger <aj at suse dot de>
- Date: 10 Dec 2000 20:30:21 +0100
- Cc: gcc-bugs at gcc dot gnu dot org, Zack Weinberg <zackw at Stanford dot EDU>,libc-alpha Mailinglist <libc-alpha at sourceware dot cygnus dot com>
- References: <u8u28c71cx.fsf@gromit.rhein-neckar.de><20001210180136.B791@daikokuya.demon.co.uk>
>>>>> Neil Booth writes:
> 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?
Oh no.
First gcc gets changed and then you tell me to use -traditional to
work around those problems. Now I'm using -traditional and it fails
again.:-(.
No further comments.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj