You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
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).
This commit is contained in:
@@ -330,7 +330,7 @@ if selected_platform in platform_list:
|
|||||||
else:
|
else:
|
||||||
# MSVC doesn't have clear C standard support, /std only covers C++.
|
# 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.
|
# 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
|
# Enforce our minimal compiler version requirements
|
||||||
cc_version = methods.get_compiler_version(env) or [-1, -1]
|
cc_version = methods.get_compiler_version(env) or [-1, -1]
|
||||||
|
|||||||
Reference in New Issue
Block a user