ndzip icon indicating copy to clipboard operation
ndzip copied to clipboard

Build fixes for Windows / Visual Studio

Open aras-p opened this issue 3 years ago • 0 comments

  • 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.

aras-p avatar Jan 22 '23 20:01 aras-p