summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2020-03-04 13:20:53 +0100
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2020-03-04 13:20:53 +0100
commite888dbbb8ded3ab5ea547a987bf0be0f02ba6f6c (patch)
tree6a436127a877d4fe3d1cb1a6bcd1fec58ec47bde
parente2b66cacf78ae39b94df748e9740b98a1f011e77 (diff)
Remove '/permissive-' flag from Windows MSVC build
This flag is causing compilation issues with headers from older versions of Windows SDK (before 10.0.16299.0).
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index f2c20ea91e..436dd48800 100644
--- a/SConstruct
+++ b/SConstruct
@@ -330,7 +330,7 @@ if selected_platform in platform_list:
else:
# MSVC doesn't have clear C standard support, /std only covers C++.
# We apply it to CCFLAGS (both C and C++ code) in case it impacts C features.
- env.Prepend(CCFLAGS=['/std:c++17', '/permissive-'])
+ env.Prepend(CCFLAGS=['/std:c++17'])
# Enforce our minimal compiler version requirements
cc_version = methods.get_compiler_version(env) or [-1, -1]