Clang-msvc warns of _WIN32_WINNT is reserved#111
Clang-msvc warns of _WIN32_WINNT is reserved#111denchat wants to merge 4 commits intolewissbaker:masterfrom
Conversation
|
Is defining |
otherwise static_assert
|
Is it okey to use |
Typically Do you intend that the build system like |
|
https://stackoverflow.com/questions/9742003/platform-detection-in-cmake#comment96056421_40217291
|
|
Well, it seems Falkon from KDE adopts this exact |
according to comments in lewissbaker#111 The same CMAKE's _WIN32_WINNT detection is also used in Falkon https://phabricator.kde.org/D8079
|
The intention was to let the build system specify If _WIN32_WINNT is not specified by the build system then we need to pick some default OS version to target. We could pick some minimum OS version for maximum compatibility or we could pick the latest version supported by the SDK or we could pick something in-between. |
|
Okey then now this should be closed. Let the build system do the work. |
I'm not sure if users are supposed to suppress certain warnings themselves.