gcc -E -traditional broken

Andreas Jaeger aj@suse.de
Sun Dec 10 11:36:00 GMT 2000


>>>>> 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


More information about the Libc-alpha mailing list