Disable "misleading indentation" warning on GCC

This commit is contained in:
Aaron Franke 2020-07-12 23:02:08 -04:00
parent f10f76d95d
commit 611fd8cb72
No known key found for this signature in database
GPG Key ID: 40A1750B977E56BF
1 changed files with 1 additions and 0 deletions

View File

@ -455,6 +455,7 @@ if selected_platform in platform_list:
all_plus_warnings = ["-Wwrite-strings"] all_plus_warnings = ["-Wwrite-strings"]
if methods.using_gcc(env): if methods.using_gcc(env):
env.Append(CCFLAGS=["-Wno-misleading-indentation"])
if cc_version_major >= 7: if cc_version_major >= 7:
shadow_local_warning = ["-Wshadow-local"] shadow_local_warning = ["-Wshadow-local"]