This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

cpp problem in 20000417 snapshot


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]