Merge pull request #40332 from aaronfranke/no-misleading
Disable "misleading indentation" warning on GCC
This commit is contained in:
commit
5ce3160f3f
@ -455,6 +455,7 @@ if selected_platform in platform_list:
|
||||
all_plus_warnings = ["-Wwrite-strings"]
|
||||
|
||||
if methods.using_gcc(env):
|
||||
env.Append(CCFLAGS=["-Wno-misleading-indentation"])
|
||||
if cc_version_major >= 7:
|
||||
shadow_local_warning = ["-Wshadow-local"]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user