From mboxrd@z Thu Jan 1 00:00:00 1970 From: neil@gcc.gnu.org To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, vil@rccp.tsukuba.ac.jp Subject: Re: preprocessor/3858: fails to parse #include HASHDEFINEDMACROFORPATH"filename" Date: Sat, 28 Jul 2001 14:23:00 -0000 Message-id: <20010728212304.22000.qmail@sourceware.cygnus.com> X-SW-Source: 2001-07/msg00753.html List-Id: Synopsis: fails to parse #include HASHDEFINEDMACROFORPATH"filename" State-Changed-From-To: open->closed State-Changed-By: neil State-Changed-When: Sat Jul 28 14:23:04 2001 State-Changed-Why: Not a bug. String concatenation occurs in the compiler after the standard preprocessing stages. In other words, the preprocessor does not do string concatenation. 2.95.2 doing so could be construed as a bug or an undocumented feature. The evolution of GCC classifies it as a bug :-) It is certainly not portable. As for no such file or directory, here it means "no such file" of course, but that's Unix for you. Like CPP claimed, it ignored your final string as an excess token, and tried to open the directory as a file. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3858&database=gcc