[Bug c++/14965] Missing template keyword after scope operator leading to weird error, meybe even segfault
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Apr 15 14:42:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04-15 13:47 -------
3.4.0 and 3.5.0 give:
pr14965.cc: In member function `void Example<Type_traits>::f()':
pr14965.cc:28: error: non-template `Fortytwo_functor' used as template
pr14965.cc:28: error: (use `Example<Type_traits>::f()::My_C::template Fortytwo_functor' to indicate
that it is a template)
pr14965.cc:28: error: declaration does not declare anything
pr14965.cc: In member function `void Example<Type_traits>::f() [with Type_traits = Int_traits]':
pr14965.cc:37: instantiated from here
pr14965.cc:30: error: `ftf' was not declared in this scope
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14965
More information about the Gcc-bugs
mailing list