mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-21 16:55:46 +03:00
Specify standards conformance mode to MSVC
https://learn.microsoft.com/en-us/cpp/build/reference/permissive-standards-conformance?view=msvc-170 PR #20427.
This commit is contained in:
parent
f04edd555f
commit
3d24a4e0f7
1 changed files with 1 additions and 0 deletions
|
@ -83,6 +83,7 @@ endif()
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
target_compile_options(qbt_common_cfg INTERFACE
|
target_compile_options(qbt_common_cfg INTERFACE
|
||||||
/guard:cf
|
/guard:cf
|
||||||
|
/permissive-
|
||||||
/utf-8
|
/utf-8
|
||||||
# https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/
|
# https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/
|
||||||
/Zc:__cplusplus
|
/Zc:__cplusplus
|
||||||
|
|
Loading…
Reference in a new issue