Skip to content

Conversation

@SpaceIm
Copy link
Contributor

@SpaceIm SpaceIm commented Oct 30, 2023

Hide private symbols irrespective of compiler when yaml-cpp shared is built with CMake.
This PR is similar to #984, but it does not remove dll.h (which was the reason why it has been reverted in #1038). So it doesn't break users not relying on CMake to build yaml-cpp.

Also simplify dll.h, which had lot of dead code, and weird logic for entering in declspec branch (actually it's windows specific, so _WIN32 is fine).

@nigels-com
Copy link

Has conflicts now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants