This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/3578: Unable to override template functions
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, peterho at ned dot dem dot csiro dot au
- Subject: Re: c++/3578: Unable to override template functions
- From: aoliva at gcc dot gnu dot org
- Date: 5 Jul 2001 22:35:48 -0000
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