diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-07-31 09:31:18 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-07-31 09:31:18 +0200 |
commit | 299afe732fba2b2c0bab942c75cde6a3fd132dee (patch) | |
tree | 1d4fd7a6f26161ee8f13b82df7f2f069591efd82 | |
parent | f4924871e2459714680e25fc3de268d80d6f3778 (diff) |
cmake/msvc: shut up harder
-rw-r--r-- | cmake/msvc.cmake | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake index 7cb139f0..3ca56163 100644 --- a/cmake/msvc.cmake +++ b/cmake/msvc.cmake @@ -3,7 +3,7 @@ # mkdir build && cmake -DCMAKE_TOOLCHAIN_FILE=$(pwd)/../cmake/msvc.cmake build/ SET(CMAKE_SYSTEM_NAME Windows) -SET(CMAKE_SYSTEM_VERSION 6.0) +SET(CMAKE_SYSTEM_VERSION 4.0) # search for programs in the host directories SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) @@ -18,11 +18,12 @@ set(cc "${cc} -FS -arch:SSE2 -D_HAS_EXCEPTIONS=0") #set(cc "${cc} -Qvec-report:1") set(warns_ "") -set(warns-disable 4530 4577 4789 4244 4702 4530 4244 4127 4458 4456 4251 4100 4702) +set(warns-disable 4530 4577 4789 4244 4702 4530 4244 4127 4458 4456 4251 4100 4702 4457) if(CMAKE_PROJECT_NAME STREQUAL "opentrack") include("${CMAKE_CURRENT_LIST_DIR}/opentrack-policy.cmake" NO_POLICY_SCOPE) - + #C4457: declaration of 'id' hides function parameter + #C4456: declaration of 'i' hides previous local declaration #C4263 - member function does not override any base class virtual member function #C4264 - no override available for virtual member function from base class, function is hidden #C4265 - class has virtual functions, but destructor is not virtual |