http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51426

--- Comment #4 from Marcin Pytel <mkp76 at wp dot pl> 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 -O2 there's no error. When I added something
to ctor (cout) I got linker error even with O2.

Marcin

Reply via email to