cpp problem in 20000417 snapshot

Michael Schwingen michaels@stochastik.rwth-aachen.de
Wed May 3 06:40:00 GMT 2000


Hello,

I am havibng problems with the cpp in the 20000417 snapshot (older and
newer snapshots did not compile for sh-coff here, so I could not test
these).

test.c is:
-------------------------
#define _PROJECT "foo"
#include "./test"_PROJECT".h"
-------------------------

/usr/src/gnu/build-sh-coff/gcc/cpp test.c     gives this:
# 1 "test.c"


test.c:3:25: junk at end of #include'
test.c:3:25: No include path in which to find "./test"
".h"


I believe this is allowed in ANSI, and it definitely worked in 2.95.2 and
older gcc versions.

cu
Michael
-- 
In the beginning there was nothing, which exploded.


More information about the Gcc-bugs mailing list