public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/3578: Unable to override template functions
@ 2001-07-05 15:35 aoliva
0 siblings, 0 replies; 2+ messages in thread
From: aoliva @ 2001-07-05 15:35 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, peterho
Synopsis: Unable to override template functions
State-Changed-From-To: open->closed
State-Changed-By: aoliva
State-Changed-When: Thu Jul 5 15:35:47 2001
State-Changed-Why:
The error was actually the lack of diagnostic for the violation of [temp.mem]/3. GCC 3.0 says:
invalid use of `virtual' in template declaration of `virtual Bar::operator T()'
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3578&database=gcc
^ permalink raw reply [flat|nested] 2+ messages in thread
* c++/3578: Unable to override template functions
@ 2001-07-05 15:16 peterho
0 siblings, 0 replies; 2+ messages in thread
From: peterho @ 2001-07-05 15:16 UTC (permalink / raw)
To: gcc-gnats
>Number: 3578
>Category: c++
>Synopsis: Unable to override template functions
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 05 15:16:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: peterho@ned.dem.csiro.au
>Release: g++ 2.96-85
>Organization:
>Environment:
RedHat Linux 7.1
>Description:
Cannot override template functions at all.
>How-To-Repeat:
g++ WRONG2.cc
>Fix:
None.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="WRONG2.cc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="WRONG2.cc"
CmNsYXNzIEZvbwp7CnB1YmxpYzoKICAgRm9vKCkge307CgogICBGb28oaW50KSB7fTsKfTsKCmNs
YXNzIEJhcgp7CnB1YmxpYzoKICAgQmFyKCkge307CgogICB0ZW1wbGF0ZSA8Y2xhc3MgVD4KICAg
dmlydHVhbCBvcGVyYXRvciBUICgpCiAgIHsKICAgfTsKfTsKCgpjbGFzcyBCYXJCYXIgOiBwdWJs
aWMgQmFyCnsKcHVibGljOgogICBCYXJCYXIgKCkge307CgogICAvLyBpbnRlbmRlZCBvdmVycmlk
ZSBiYXNlIGNsYXNzIHRlbXBsYXRlIGNhc3QgZm9yIEZvbwogICAvLyBldmVuIHRoZSBvbGQgREVD
IGN4eCBnZXRzIHRoaXMgcmlnaHQuCiAgIHZpcnR1YWwgb3BlcmF0b3IgRm9vICgpIHt9Owp9OwoK
CmludCBtYWluKCkKewogICBCYXJCYXIgYmxhY2tfc2hlZXA7CgogICAvLyB0aGlzIGlzIHdoYXQg
dGhlIGZvbGxvd2luZyBjYXN0IHNob3VsZCBleHBhbmQgdG8KICAgRm9vIGZvb2JhciA9IGJsYWNr
X3NoZWVwLm9wZXJhdG9yIEZvbygpOwoKICAgLy8gTm90IEZvbyhCYXJCYXIgJikganVzdCBiZWNh
dXNlIGl0cyBhIHRlbXBsYXRlIQogICBGb28gYmFyID0gKEZvbykgYmxhY2tfc2hlZXA7CgogICAv
LyBZb3UgaGF2ZSBtYWRlIGl0IGltcG9zc2libGUgdG8gb3ZlcnJpZGUgdGVtcGxhdGUgZnVuY3Rp
b25zIQoKICAgcmV0dXJuIDA7Cn0K
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-07-05 15:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-05 15:35 c++/3578: Unable to override template functions aoliva
-- strict thread matches above, loose matches on Subject: below --
2001-07-05 15:16 peterho
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).