You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
compilation with Visual Studio might fail because of WIN32_LEAN_AND_MEAN redefinition #562
The downstream Visual Studio compilation fails with the following:
4>D:\a\cppcheck\cppcheck\externals\simplecpp\simplecpp.cpp(11,1): error C2220: the following warning is treated as an error [D:\a\cppcheck\cppcheck\lib\cppcheck.vcxproj]
4>D:\a\cppcheck\cppcheck\externals\simplecpp\simplecpp.cpp(11,1): warning C4005: 'WIN32_LEAN_AND_MEAN': macro redefinition [D:\a\cppcheck\cppcheck\lib\cppcheck.vcxproj]
D:\a\cppcheck\cppcheck\lib\check.cpp : message : see previous definition of 'WIN32_LEAN_AND_MEAN' (compiling source file ..\externals\simplecpp\simplecpp.cpp) [D:\a\cppcheck\cppcheck\lib\cppcheck.vcxproj]
``
Activity
fixed cppcheck-opensource#562 - avoid potential redefinition of Windo…
fixed cppcheck-opensource#562 - avoid potential redefinition of Windo…
fixed cppcheck-opensource#562 - avoid potential redefinition of Windo…