2
0
Эх сурвалжийг харах

Merge pull request #36788 from nekomatata/windows-permissive-flag

Remove '/permissive-' flag from Windows MSVC build
Rémi Verschelde 5 жил өмнө
parent
commit
cac3e2faad
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      SConstruct

+ 1 - 1
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]