------- Comment #2 from pinskia at gcc dot gnu dot org 2006-11-08 23:46 ------- Reduced testcase: template <typename C> struct mytree { static int counter; }; template<int> int mytree<int>::counter = 0;
--- Now I have seen this before, this is invalid code you should be doing: template<> int mytree<int>::counter = 0; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29766