public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/4425: parse error/scope resolution operator in template parameter
@ 2001-10-28 6:01 lerdsuwa
0 siblings, 0 replies; 3+ messages in thread
From: lerdsuwa @ 2001-10-28 6:01 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, sengir
Synopsis: parse error/scope resolution operator in template parameter
State-Changed-From-To: analyzed->closed
State-Changed-By: lerdsuwa
State-Changed-When: Sun Oct 28 06:00:56 2001
State-Changed-Why:
Not a bug. The sequence '<:' is interpreted as a digraph '['.
You have to write:
Template< ::ParClass> temp;
Notice the space between '<' and '::'.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4425&database=gcc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/4425: parse error/scope resolution operator in template parameter
@ 2001-10-07 5:03 lerdsuwa
0 siblings, 0 replies; 3+ messages in thread
From: lerdsuwa @ 2001-10-07 5:03 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, sengir
Synopsis: parse error/scope resolution operator in template parameter
State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Sun Oct 7 05:03:19 2001
State-Changed-Why:
Confirm as a bug.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4425&database=gcc
^ permalink raw reply [flat|nested] 3+ messages in thread
* c++/4425: parse error/scope resolution operator in template parameter
@ 2001-09-30 7:56 sengir
0 siblings, 0 replies; 3+ messages in thread
From: sengir @ 2001-09-30 7:56 UTC (permalink / raw)
To: gcc-gnats
>Number: 4425
>Category: c++
>Synopsis: parse error/scope resolution operator in template parameter
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Sun Sep 30 07:56:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Stefan Strasser
>Release: 2.95.1 19990816
>Organization:
>Environment:
doesnt matter
>Description:
gcc doesnt accept a scope resolution operator in a
template parameter, which you need if you have 2 classes with
the same name, one in the current namespace and one in the
global one.
see attachment.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="templatebug.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="templatebug.cpp"
CmNsYXNzIFBhckNsYXNze307Cm5hbWVzcGFjZSBOYW1lc3BhY2V7CgoJdGVtcGxhdGU8dHlwZW5h
bWUgVD4gY2xhc3MgVGVtcGxhdGV7fTsKCQoJY2xhc3MgUGFyQ2xhc3N7fTsKCQoJVGVtcGxhdGU8
OjpQYXJDbGFzcz4gdGVtcDsKCQp9Cg==
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-10-28 6:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-28 6:01 c++/4425: parse error/scope resolution operator in template parameter lerdsuwa
-- strict thread matches above, loose matches on Subject: below --
2001-10-07 5:03 lerdsuwa
2001-09-30 7:56 sengir
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).