[Bug c++/10449] [3.4 only] Totally bogus error message on missing typename

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Nov 9 00:26:00 GMT 2003


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-09 00:26 -------
Fixed:
pr10449.cc: In member function `typename Identity<T>::type Bar::func(T) [with T = Foo]':
pr10449.cc:25:   instantiated from here
pr10449.cc:17: error: `Identity<T>::type' names a type, but a non-type is expected

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10449



More information about the Gcc-bugs mailing list