[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 --- (In reply to Vehbi Esref Bayraktar from comment #4) > So why doesn't it compile as is > CGEnum::instances_list CGEnum::msInstances; > and asks for a specialization notation (template<>)? Well, because that w

[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 --- So why doesn't it compile as is CGEnum::instances_list CGEnum::msInstances; and asks for a specialization notation (template<>)? Thanks

[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 changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[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 changed: What|Removed |Added CC||daniel.kruegler@googlemail.

[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 changed: What|Removed |Added Severity|major |normal --- Comment #1 from Paolo Carlini