diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-08-11 16:41:23 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-08-11 16:41:23 +0900 |
commit | a3223e749d6f6c72b7c0ef638a1314d8bc77bc06 (patch) | |
tree | efa819e0eeec832716b27acd2ffa895ae2df8899 | |
parent | f2e958b4becb9021546d0355026fefce8557c7b6 (diff) | |
download | libquotient-a3223e749d6f6c72b7c0ef638a1314d8bc77bc06.tar.gz libquotient-a3223e749d6f6c72b7c0ef638a1314d8bc77bc06.zip |
CMakeLists.txt: more MSVC warning suppresions
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8627d177..f9bdef64 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,8 +38,9 @@ set(CMAKE_CXX_STANDARD 17) if (MSVC) add_compile_options(/EHsc /W4 - /wd4100 /wd4242 /wd4244 /wd4245 /wd4267 /wd4365 /wd4514 /wd4571 /wd4625 - /wd4626 /wd4774 /wd4820 /wd5026 /wd5027) + /wd4100 /wd4127 /wd4242 /wd4244 /wd4245 /wd4267 /wd4365 /wd4459 /wd4514 + /wd4571 /wd4619 /wd4623 /wd4625 /wd4626 /wd4710 /wd4774 /wd4820 /wd4946 + /wd5026 /wd5027) else() foreach (FLAG all "" pedantic extra error=return-type no-unused-parameter no-gnu-zero-variadic-macro-arguments) CHECK_CXX_COMPILER_FLAG("-W${FLAG}" WARN_${FLAG}_SUPPORTED) |