From e888dbbb8ded3ab5ea547a987bf0be0f02ba6f6c Mon Sep 17 00:00:00 2001 From: PouleyKetchoupp Date: Wed, 4 Mar 2020 13:20:53 +0100 Subject: [PATCH] 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). --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index f2c20ea91ef..436dd488006 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]