From ec50caa242779aa88c7bddca9c7448a2d7b22351 Mon Sep 17 00:00:00 2001 From: ClausKlein Date: Sun, 1 Dec 2024 21:28:06 +0100 Subject: [PATCH] Be less pedantic on Windows --- asio/CMakePresets.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/asio/CMakePresets.json b/asio/CMakePresets.json index 0e68c964d2..b757f1b6d9 100644 --- a/asio/CMakePresets.json +++ b/asio/CMakePresets.json @@ -87,13 +87,13 @@ { "name": "flags-Windows", "description": - "Note that all the flags after /W4 are required for MSVC to conform to the language standard", + "Note that all the flags after /W3 are required for MSVC to conform to the language standard", "hidden": true, "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug", "CMAKE_CXX_COMPILER": "cl", "CMAKE_CXX_FLAGS": - "/sdl /guard:cf /utf-8 /diagnostics:caret /w14165 /w44242 /w44254 /w44263 /w34265 /w34287 /w44296 /w44365 /w44388 /w44464 /w14545 /w14546 /w14547 /w14549 /w14555 /w34619 /w34640 /w24826 /w14905 /w14906 /w14928 /w45038 /W4 /permissive- /volatile:iso /Zc:inline /Zc:preprocessor /Zc:enumTypes /Zc:lambda /Zc:__cplusplus /Zc:externConstexpr /Zc:throwingNew /EHsc", + "/sdl /guard:cf /utf-8 /diagnostics:caret /w14165 /w44242 /w44254 /w44263 /w34265 /w34287 /w44296 /w44365 /w44388 /w44464 /w14545 /w14546 /w14547 /w14549 /w14555 /w34619 /w34640 /w24826 /w14905 /w14906 /w14928 /w45038 /W3 /permissive- /volatile:iso /Zc:inline /Zc:preprocessor /Zc:enumTypes /Zc:lambda /Zc:__cplusplus /Zc:externConstexpr /Zc:throwingNew /EHsc", "CMAKE_EXE_LINKER_FLAGS": "/machine:x64 /guard:cf" }, "condition": {