This is the mail archive of the gcc-prs@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]

Re: preprocessor/3858: fails to parse #include HASHDEFINEDMACROFORPATH"filename"


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


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