Skip to content

Commit 27f1276

Browse files
committed
cdk: Reduce warnings noise in MAINTAINER_MODE
1 parent 940a4c7 commit 27f1276

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cdk/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ if(MAINTAINER_MODE)
152152

153153
IF(MSVC)
154154

155+
# TODO: move to /Wall when code base is ready for this
156+
155157
# 4127 = conditional expression is constant (needed for do {...} while(false))
156158
# 4512 = assignment operator could not be generated
157159
# 4100 = unreferenced formal parameter
@@ -180,7 +182,7 @@ IF(MSVC)
180182
# Note: 4520 only present on Visual Studio 12
181183

182184
add_compile_options(
183-
/Wall /wd4512 /wd4127 /wd4100
185+
/W4 /wd4512 /wd4127 /wd4100
184186
/wd4820 /wd4571 /wd4710 /wd4514 /wd4625 /wd4626 /wd4464 /wd4711 /wd4520
185187
)
186188

0 commit comments

Comments
 (0)