Hi,

This worked, the program compiles fine now.

It crashes with a SegFault shortly after starting a new thread (via
QThread), with a message:
RTTI symbol not found for class 'SimClientPrivate'

Are there incompatibilities of flto and cases where it cannot work?


Thanks


> FWIW, you can try moving virtual function definitions out of header files, as 
> defining virtual functions inside headers is generally a bad idea.
>
> (The story is much longer than that. Since the RTTI data of a polymorphic 
> class is linked/exported/whatever with one of its virtual functions, specific 
> mechanisms that rely on RTTI - dynamic_cast, exceptions, etc - might fail if 
> RTTI of  the same class is used across dynami clibrary boundaries.)
>
>
------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to