c++/4111: Problem with templates - Regression from g++ 2.95.x

m.duflot@ulg.ac.be m.duflot@ulg.ac.be
Fri Aug 24 02:06:00 GMT 2001


>Number:         4111
>Category:       c++
>Synopsis:       Problem with templates - Regression from g++ 2.95.x
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 24 02:06:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Marc Duflot
>Release:        3.0
>Organization:
>Environment:
Suse Linux 7.2
>Description:
The attached code do not compile with g++ 3.0 but it did with g++ 2.95.2.

The error message is as follows:

sorry, not implemented: use of `scope_ref' in template type unification
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/x-c++src; name="bug.C"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="bug.C"

dGVtcGxhdGUgPGludCBuPiBjbGFzcyBBIHt9Owp0ZW1wbGF0ZSA8aW50IG0+IGNsYXNzIFIge307
Cgp0ZW1wbGF0ZSA8aW50IG4+IHN0cnVjdCBUcmFpdCB7IGVudW0ge20gPSBufTsgfTsKCnRlbXBs
YXRlIDxpbnQgbj4gUjxUcmFpdDxuPjo6bT4gZihBPG4+KTsKdGVtcGxhdGUgPD4gUjwxPiBmKEE8
MT4pIHtyZXR1cm4gUjwxPigpO30K



More information about the Gcc-bugs mailing list