------- Comment #1 from pinskia at gcc dot gnu dot org 2007-08-16 21:01 ------- >As far as I can see this is valid C++ code. It is not but the way to fix it is doing: template<> const unsigned char B<unsigned char>::c = 1;
----- cut ------ This is a dup of bug 24791 *** This bug has been marked as a duplicate of 24791 *** -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33093