Skip to content

Commit

Permalink
Be less pedantic on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ClausKlein committed Dec 1, 2024
1 parent 47d4cd3 commit ec50caa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions asio/CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit ec50caa

Please sign in to comment.