Edward Diener <[email protected]>
writes:

>> The code is far from being a minimal example, so I didn't look at it
>> all, but I see that the class ex_exception is not exported (EX_VISIBLE
>> expands to "... __visibility__("default")..." and you set
>> -fvisibility=hidden in your compile command). If your class has virtual
>> members (as it seems the case) this is asking for trouble.
>>
>
> I am sorry but "this is asking for trouble" means absolutely nothing to 
> me on a technical level.

Calling a virtual member requires an access to the vtable of the class.
The vtable is defined on the dll that contains the class' code. If the
class is not exported, the vtable is not exported. The errors you are
seeing is the linker complaining about the missing vtable.

[snip]


------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to