This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/25773] New: Preprocessor concatenation of forward-slash fails
- From: "SSacek at appsecinc dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jan 2006 18:56:29 -0000
- Subject: [Bug c++/25773] New: Preprocessor concatenation of forward-slash fails
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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