[Bug c++/58885] New: Template static variable linking issue!

2013-10-26 Thread vehbi.esref.bayraktar at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: vehbi.esref.bayraktar at gmail dot com Created attachment 31090 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=31090action=edit One header one cpp Sending the code as is. Compile and see the following error first: specializing

[Bug c++/58885] Template static variable linking issue!

2013-10-26 Thread vehbi.esref.bayraktar at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58885 --- Comment #4 from Vehbi Esref Bayraktar vehbi.esref.bayraktar at gmail dot com --- So why doesn't it compile as is CGEnumint, Test_Enum::instances_list CGEnumint, Test_Enum::msInstances; and asks for a specialization notation (template