DllExport icon indicating copy to clipboard operation
DllExport copied to clipboard

Add compilation symbol to preserve DllExport attribute (metadata)

Open OmegaExtern opened this issue 8 years ago • 2 comments

Reference to DllExport is always removed, which may be unwanted in some situations.

What I would suggest to do is: Search compilation symbols for DLLEXPORT_PRESERVE, and if it is present, do not remove reference to DllExport, otherwise keep current behavior.

OmegaExtern avatar Sep 23 '16 17:09 OmegaExtern

which may be unwanted in some situations

for example ? :)

3F avatar Sep 23 '16 18:09 3F

for example ? :)

I don't have any good example where metadata should be preserved, anyway up to you.. It is not hard to do.

OmegaExtern avatar Sep 23 '16 19:09 OmegaExtern