public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/20915] New: Precedence of /* over #if ???
@ 2005-04-09 12:10 igodard at pacbell dot net
2005-04-09 12:36 ` [Bug c++/20915] " pinskia at gcc dot gnu dot org
2005-04-09 13:30 ` giovannibajo at libero dot it
0 siblings, 2 replies; 3+ messages in thread
From: igodard at pacbell dot net @ 2005-04-09 12:10 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/20915] Precedence of /* over #if ???
2005-04-09 12:10 [Bug c++/20915] New: Precedence of /* over #if ??? igodard at pacbell dot net
@ 2005-04-09 12:36 ` pinskia at gcc dot gnu dot org
2005-04-09 13:30 ` giovannibajo at libero dot it
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-09 12:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-09 12:36 -------
They are both preprocessor based.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20915
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/20915] Precedence of /* over #if ???
2005-04-09 12:10 [Bug c++/20915] New: Precedence of /* over #if ??? igodard at pacbell dot net
2005-04-09 12:36 ` [Bug c++/20915] " pinskia at gcc dot gnu dot org
@ 2005-04-09 13:30 ` giovannibajo at libero dot it
1 sibling, 0 replies; 3+ messages in thread
From: giovannibajo at libero dot it @ 2005-04-09 13:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2005-04-09 13:29 -------
Invalid, this is the way it is. This is exactly the kind of bug which should
*not* be reported in Bugzilla, but rather asked about in any
newsgroup/forum/mailing list about programming.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20915
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-04-09 13:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-09 12:10 [Bug c++/20915] New: Precedence of /* over #if ??? igodard at pacbell dot net
2005-04-09 12:36 ` [Bug c++/20915] " pinskia at gcc dot gnu dot org
2005-04-09 13:30 ` giovannibajo at libero dot it
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).