public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/10729: BUG on illegal code - namespace name clash(?)
@ 2003-05-10 20:06 Rudo Thomas
  0 siblings, 0 replies; 4+ messages in thread
From: Rudo Thomas @ 2003-05-10 20:06 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/10729; it has been noted by GNATS.

From: Rudo Thomas <thomr9am@ss1000.ms.mff.cuni.cz>
To: Dara Hazeghi <dhazeghi@yahoo.com>
Cc: <gcc-gnats@gcc.gnu.org>
Subject: Re: c++/10729: BUG on illegal code - namespace name clash(?)
Date: Sat, 10 May 2003 21:56:55 +0200 (CEST)

 Hi.
 
 > In 3.3 branch I get:
 > junk.cc:4: error: syntax error before `:' token
 > in mainline (20030509) I get:
 > junk.cc:4: error: syntax error before `:' token
 
 So why has the bug been closed? The reason was that it is fixed in 3.3.
 and 3.4. Strange.
 
 Bye for now.
 
 Rudo.
 
 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: c++/10729: BUG on illegal code - namespace name clash(?)
@ 2003-05-10 18:27 ehrhardt
  0 siblings, 0 replies; 4+ messages in thread
From: ehrhardt @ 2003-05-10 18:27 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, thomr9am

Synopsis: BUG on illegal code - namespace name clash(?)

State-Changed-From-To: open->closed
State-Changed-By: cae
State-Changed-When: Sat May 10 18:27:41 2003
State-Changed-Why:
    Confirmed with 3.2, but fixed in 3.3 and 3.4-cvs.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10729


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: c++/10729: BUG on illegal code - namespace name clash(?)
@ 2003-05-10 18:26 Dara Hazeghi
  0 siblings, 0 replies; 4+ messages in thread
From: Dara Hazeghi @ 2003-05-10 18:26 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/10729; it has been noted by GNATS.

From: Dara Hazeghi <dhazeghi@yahoo.com>
To: gcc-gnats@gcc.gnu.org, thomr9am@ss1000.ms.mff.cuni.cz
Cc:  
Subject: Re: c++/10729: BUG on illegal code - namespace name clash(?)
Date: Sat, 10 May 2003 11:25:51 -0700

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit- 
 trail&database=gcc&pr=10729
 
 Hello,
 
 in 3.2.3, I get the ICE mentioned in this report. In 3.3 branch I get:
 junk.cc:4: error: syntax error before `:' token
 
 in mainline (20030509) I get:
 junk.cc:4: error: syntax error before `:' token
 
 Do these error message look correct to the submitter? Thanks,
 
 Dara
 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* c++/10729: BUG on illegal code - namespace name clash(?)
@ 2003-05-10 10:26 thomr9am
  0 siblings, 0 replies; 4+ messages in thread
From: thomr9am @ 2003-05-10 10:26 UTC (permalink / raw)
  To: gcc-gnats


>Number:         10729
>Category:       c++
>Synopsis:       BUG on illegal code - namespace name clash(?)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 10 10:26:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Rudo Thomas
>Release:        gcc version 3.2.3
>Organization:
>Environment:
GNU/Linux, gcc built from scratch
>Description:
GCC suggested I submitted a bug report when trying to compile the following code:

namespace A { const int i = 1; }
class A { const int i; };
::A:i = 2;

The error message is:
bug.cc:3: `A' as declarator

It is worth mentioning that the code is completely ill-formed ;-)
>How-To-Repeat:
Copy and paste the 3 lines of code from description above to, say, bug.cc . Run gcc bug.cc .
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-05-10 20:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-10 20:06 c++/10729: BUG on illegal code - namespace name clash(?) Rudo Thomas
  -- strict thread matches above, loose matches on Subject: below --
2003-05-10 18:27 ehrhardt
2003-05-10 18:26 Dara Hazeghi
2003-05-10 10:26 thomr9am

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).