[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 foosizeof(T) is a dependent: typedef typename foosizeof(T)::unsigned_t baz2; -- pinskia at gcc dot gnu dot org changed: What|Removed

[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

[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