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

2013-10-26 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58885 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Severity|major |normal

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

2013-10-26 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58885 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC|

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

2013-10-26 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58885 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[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)?

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

2013-10-26 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58885 --- Comment #5 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Vehbi Esref Bayraktar from comment #4) So why doesn't it compile as is CGEnumint, Test_Enum::instances_list CGEnumint, Test_Enum::msInstances; and asks