[Bug c++/20118] spurious error

2005-02-21 Thread igodard at pacbell dot net
--- Additional Comments From igodard at pacbell dot net 2005-02-21 09:29 --- Adding "template<>" indeed made the diagnostic go away. Can you change this report to a complaint about the rather unhelpful diagnostic? Ivan -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20118

[Bug c++/20118] spurious error

2005-02-20 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-21 02:48 --- I think this is invalid. You should be using: template<> const int foo::i = 5; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20118