Added: Macro SZ_NULL_CHAR, Clang-CL instrinsics. #88
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Despite declaring it as extern "C", MSVC and Clang-Cl both still enforce that you cannot convert a void0 (r-value) to a char for some reason. As such had to added SZ_NULL_CHAR.
Clang-Cl also picks and chooses when it wants to use MSVC intrinsics over clang instrinsics, so added fixes for those issues.
Also cmakelist.txt just assumed PIC even tho it might not be available, so added a check.
NOTE: None of this code is tested as, both Clang-Cl and MSVC are not able to build any of the tests on my machine despite best efforts. #84