[Bug c++/35228] template accepting numeric fails with sizeof

2008-02-17 Thread manu at gcc dot gnu dot org
-- manu at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirme

[Bug c++/35228] template accepting numeric fails with sizeof

2008-02-17 Thread manu at gcc dot gnu dot org
--- Comment #2 from manu at gcc dot gnu dot org 2008-02-17 21:51 --- The C++ parser can probably mention 'typename' in the error message. -- manu at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/35228] template accepting numeric fails with sizeof

2008-02-17 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-02-17 08:44 --- You forgot the keyword typename as foo is a dependent: typedef typename foo::unsigned_t baz2; -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --