preprocessor/3858: fails to parse #include HASHDEFINEDMACROFORPATH"filename"
neil@gcc.gnu.org
neil@gcc.gnu.org
Sat Jul 28 14:23:00 GMT 2001
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
More information about the Gcc-prs
mailing list