ndzip
ndzip copied to clipboard
Build fixes for Windows / Visual Studio
- popcount() implementations
- workaround the lack of std::aligned_alloc
- fix cpu_coded.inl wrongly using #ifdef instead of #if for OpenMP flags (the flag is defined, just to zero). With OpenMP this does not yet compile on MSVC out of the box.
- cmake: when using MSVC, indicate C++ 20 (for to_string), do not pass gcc/clang warning flags, and build as static library since public symbols do not have "please export me" attributes set on them.