[Bug c++/25773] New: Preprocessor concatenation of forward-slash fails

SSacek at appsecinc dot com gcc-bugzilla@gcc.gnu.org
Thu Jan 12 18:56:00 GMT 2006


The code below fails to preprocess correctly. Shouldn't it handle this simple
case correctly?  VC++ produces the expected results.

#define COMMENT   /##/

void main( void )
{
   COMMENT   this line should be commented out
}


-- 
           Summary: Preprocessor concatenation of forward-slash fails
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: SSacek at appsecinc dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25773



More information about the Gcc-bugs mailing list