aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-08-11 16:12:20 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-08-11 16:12:20 +0900
commitf2e958b4becb9021546d0355026fefce8557c7b6 (patch)
tree2fb58f66e873a5287018a19fe2031c052ea120b5
parent56a180e1f99ab8f0c5c2e5fb0d3ea326e5838888 (diff)
downloadlibquotient-f2e958b4becb9021546d0355026fefce8557c7b6.tar.gz
libquotient-f2e958b4becb9021546d0355026fefce8557c7b6.zip
CMakeLists.txt: suppress more MSVC warnings
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index aba46a8b..8627d177 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -38,8 +38,8 @@ set(CMAKE_CXX_STANDARD 17)
if (MSVC)
add_compile_options(/EHsc /W4
- /wd4100 /wd4242 /wd4245 /wd4267 /wd4365 /wd4571 /wd4625 /wd4626 /wd4820
- /wd5026 /wd5027)
+ /wd4100 /wd4242 /wd4244 /wd4245 /wd4267 /wd4365 /wd4514 /wd4571 /wd4625
+ /wd4626 /wd4774 /wd4820 /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)