This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20915] New: Precedence of /* over #if ???
- From: "igodard at pacbell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Apr 2005 12:10:15 -0000
- Subject: [Bug c++/20915] New: Precedence of /* over #if ???
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
In:
/*
#if 0
*/
#endif
you get:
~/ootbc/members/src$ g++ foo.cc
foo.cc:4:2: #endif without #if
I thought that CPP directives dominated comments rather than the other way
around (as the compiler seems to be doing)
--
Summary: Precedence of /* over #if ???
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: igodard at pacbell dot net
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20915