public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11415] New: Error message with ::::
@ 2003-07-02 22:31 bangerth at dealii dot org
2003-07-04 0:38 ` [Bug c++/11415] [3.4 regression] " reichelt at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: bangerth at dealii dot org @ 2003-07-02 22:31 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11415
Summary: Error message with ::::
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Keywords: diagnostic
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bangerth at dealii dot org
CC: gcc-bugs at gcc dot gnu dot org
This is more for everyone's amusement than an urgent bug report. This
code here
----------------------
template <typename> struct V {};
V< ::Outer::Inner > v;
----------------------
generates the funny error message
mortar/libmortar> c++ -c x.cc
x.cc:3: error: `::::Outer' is not a class-name or namespace-name
x.cc:3: error: `Inner' was not declared in this scope
x.cc:3: error: template argument 1 is invalid
x.cc:3: error: expected constructor, destructor, or type conversion
Note the duplicated :: operator. In a sense, this is even a regression,
since 3.3 gives the following message:
mortar/libmortar> ~/bin/gcc-3.3/bin/c++ -c x.cc
x.cc:3: error: `::Outer' undeclared (first use here)
x.cc:3: error: parse error before `::' token
However, I'm pretty sure there are more pressing cases for potential bug
fixers ;-)
W.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/11415] [3.4 regression] Error message with ::::
2003-07-02 22:31 [Bug c++/11415] New: Error message with :::: bangerth at dealii dot org
@ 2003-07-04 0:38 ` reichelt at gcc dot gnu dot org
2003-09-07 5:14 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2003-07-04 0:38 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11415
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Priority|P2 |P3
Last reconfirmed|0000-00-00 00:00:00 |2003-07-04 00:38:24
date| |
Summary|Error message with :::: |[3.4 regression] Error
| |message with ::::
------- Additional Comments From reichelt at gcc dot gnu dot org 2003-07-04 00:38 -------
::::Confirmed.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/11415] [3.4 regression] Error message with ::::
2003-07-02 22:31 [Bug c++/11415] New: Error message with :::: bangerth at dealii dot org
2003-07-04 0:38 ` [Bug c++/11415] [3.4 regression] " reichelt at gcc dot gnu dot org
@ 2003-09-07 5:14 ` pinskia at gcc dot gnu dot org
2003-09-25 17:04 ` lerdsuwa at gcc dot gnu dot org
2003-09-27 17:26 ` lerdsuwa at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-07 5:14 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11415
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2003-08-24 15:27:27 |2003-09-07 05:14:06
date| |
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-09-07 05:14 -------
Another example, looks like GCC is trying to add "::" when it is already have it and when
accessing it as a namespace or a class:
template <int> class V {};
V< ::O:: > v;
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/11415] [3.4 regression] Error message with ::::
2003-07-02 22:31 [Bug c++/11415] New: Error message with :::: bangerth at dealii dot org
2003-07-04 0:38 ` [Bug c++/11415] [3.4 regression] " reichelt at gcc dot gnu dot org
2003-09-07 5:14 ` pinskia at gcc dot gnu dot org
@ 2003-09-25 17:04 ` lerdsuwa at gcc dot gnu dot org
2003-09-27 17:26 ` lerdsuwa at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2003-09-25 17:04 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11415
lerdsuwa at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |lerdsuwa at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/11415] [3.4 regression] Error message with ::::
2003-07-02 22:31 [Bug c++/11415] New: Error message with :::: bangerth at dealii dot org
` (2 preceding siblings ...)
2003-09-25 17:04 ` lerdsuwa at gcc dot gnu dot org
@ 2003-09-27 17:26 ` lerdsuwa at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2003-09-27 17:26 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11415
lerdsuwa at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2003-09-27 16:39 -------
Fixed in the main trunk by:
http://gcc.gnu.org/ml/gcc-patches/2003-09/msg01939.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-09-27 16:39 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-02 22:31 [Bug c++/11415] New: Error message with :::: bangerth at dealii dot org
2003-07-04 0:38 ` [Bug c++/11415] [3.4 regression] " reichelt at gcc dot gnu dot org
2003-09-07 5:14 ` pinskia at gcc dot gnu dot org
2003-09-25 17:04 ` lerdsuwa at gcc dot gnu dot org
2003-09-27 17:26 ` lerdsuwa at gcc dot gnu dot org
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).