diff -r 7a27d14a4df1 -r 5dc8b48f80b3 CMakeLists.txt --- a/CMakeLists.txt Sun Jun 07 15:52:33 2015 +0300 +++ b/CMakeLists.txt Sun Jun 07 18:11:06 2015 +0300 @@ -53,6 +53,8 @@ if (NOT MSVC) set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -W -Wall") else() + # Some Qt headers (QMap and QHash) trigger C4180, disable that. + add_definitions ("/wd4180 /D_CRT_SECURE_NO_WARNINGS /nologo") set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Za") endif()