[Bug c++/35228] bad error recovery with missing typename

manu at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Feb 17 21:57:00 GMT 2008



------- Comment #3 from manu at gcc dot gnu dot org  2008-02-17 21:56 -------
And the message:

foo.cc:16: error: expected ';' before 'baz2'

is just broken. What does

typedef foo<sizeof(T)>::unsigned_t;

is supposed to mean?

It is obvious that something went wrong here.


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2008-02-17 21:52:13         |2008-02-17 21:56:28
               date|                            |
            Summary|template accepting numeric  |bad error recovery with
                   |fails with sizeof           |missing typename


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



More information about the Gcc-bugs mailing list