Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add compilation symbol to preserve DllExport attribute (metadata) #13

Open
OmegaExtern opened this issue Sep 23, 2016 · 2 comments
Open

Comments

@OmegaExtern
Copy link

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.

@3F
Copy link
Owner

3F commented Sep 23, 2016

which may be unwanted in some situations

for example ? :)

@OmegaExtern
Copy link
Author

for example ? :)

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

@3F 3F added the suggestion label Jul 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants