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

Fix building on windows with clang and msvc #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gazelleguardian
Copy link

These changes allow the library to be built on windows with clang and msvc.

I know those are not supported compilers but the changes still compile just fine with gcc on linux.

tag_list.h

added nbt namespace to avoid ambiguity with std::make_shared

stream_writer

stimple <string> header include

tag_array.h|cpp

moved templated instantiations from the header to the bottom of the cpp file (clang complained that we were specializing before instantiation)

CMakeLists.txt

Added the correct name for linking ZLib

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.

1 participant