Closed
Description
With Visual Studio 2022 I get these errors when building zxing-cpp 2.1.0:
zxing-cpp\core\src\BitHacks.h(41,14): error C2039: 'countl_zero': is not a member of 'std' [zxing-cpp\build\temp.win32-cpython-38\Release\zxingcpp.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.37.32822\include\vector(26,1): message : see declaration of 'std' [zxing-cpp\build\temp.win32-cpython-38\Release\zxingcpp.vcxproj]
zxing-cpp\core\src\BitHacks.h(84,14): error C2039: 'countr_zero': is not a member of 'std' [zxing-cpp\build\temp.win32-cpython-38\Release\zxingcpp.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.37.32822\include\vector(26,1): message : see declaration of 'std' [zxing-cpp\build\temp.win32-cpython-38\Release\zxingcpp.vcxproj]
zxing-cpp\core\src\BitHacks.h(153,14): error C2039: 'popcount': is not a member of 'std' [zxing-cpp\build\temp.win32-cpython-38\Release\zxingcpp.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.37.32822\include\vector(26,1): message : see declaration of 'std' [zxing-cpp\build\temp.win32-cpython-38\Release\zxingcpp.vcxproj]
zxing-cpp\core\src\BitHacks.h(153,14): error C3861: 'popcount': identifier not found [zxing-cpp\build\temp.win32-cpython-38\Release\zxingcpp.vcxproj]
This seems to be caused by 9980b2d and building version 2.0.0 works.
Metadata
Metadata
Assignees
Labels
No labels