c++/4425: parse error/scope resolution operator in template parameter

sengir@gmx.net sengir@gmx.net
Sun Sep 30 07:59:00 GMT 2001


>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==



More information about the Gcc-bugs mailing list