[Bug c++/68423] override/final doesn't cause error in templated class without base

2019-01-06 Thread haining.cpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68423

Ryan R Haining  changed:

   What|Removed |Added

 Resolution|WONTFIX |INVALID

--- Comment #3 from Ryan R Haining  ---
Seems like WONTFIX by the last comment

[Bug c++/68423] override/final doesn't cause error in templated class without base

2019-01-06 Thread haining.cpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68423

Ryan R Haining  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WONTFIX

--- Comment #2 from Ryan R Haining  ---
Seems like WONTFIX by the last comment

[Bug c++/68423] override/final doesn't cause error in templated class without base

2015-11-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68423

--- Comment #1 from Jonathan Wakely  ---
You get an error as soon as you instantiate the templates. I don't know if the
standard requires an error even for uninstantiated templates, but there are
LOTS of things g++ doesn't diagnose in uninstantiated templates.