[Bug c++/51426] explicit instantiation declaration without definition

2011-12-06 Thread mkp76 at wp dot pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51426 --- Comment #4 from Marcin Pytel 2011-12-06 17:49:06 UTC --- I did some more testing. I was using eclipse and it adds some compilation flags. The cause is optimization. When you add empty ctor there's the linker error. But when you compile with -

[Bug c++/51426] New: explicit instantiation declaration without definition

2011-12-05 Thread mkp76 at wp dot pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51426 Bug #: 51426 Summary: explicit instantiation declaration without definition Classification: Unclassified Product: gcc Version: 4.6.2 Status: UNCONFIRMED Severity: normal