DIP45: fixing the dllimport/dllexport issue

Martin Nowak code at dawg.eu
Sat Nov 16 07:03:18 PST 2013


On 09/19/2013 01:55 PM, Benjamin Thaut wrote:
>> B: You shouldn't mix static with dynamic linking, ODR issues are what
>> you get in return.
> Well you should not. But it will happen. Espeically if you don't have
> any control over what others due. E.g. when using third party libraries.
Let me put it differently, if you statically link against a library in 
your DLL you need to ensure not to leak (export) any symbols from this 
static library.


More information about the Digitalmars-d mailing list