This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
cpp problem in 20000417 snapshot
- To: gcc-bugs at gcc dot gnu dot org
- Subject: cpp problem in 20000417 snapshot
- From: Michael Schwingen <michaels at stochastik dot rwth-aachen dot de>
- Date: Wed, 3 May 2000 15:37:57 +0200
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.