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