From 10bc8b05adc9178f234531bc72f3ce00fd14c545 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Mon, 7 Nov 2022 13:59:32 +0100 Subject: [PATCH] test: use /W1 with VS (but for toolset v141, too bugged for that) --- test/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index ebc63110b..868f1e40c 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -51,7 +51,9 @@ function(SETUP_TARGET TARGET_NAME) target_compile_options( ${TARGET_NAME} PRIVATE - /EHsc /W1 /wd4996 /w14800 + # vs2017 emits too many false positives for my tastes + $, /W1, /W4> + /EHsc /wd4324 /wd4996 $<$:/Od> $<$:/O2> )