Disable "misleading indentation" warning on GCC

(cherry picked from commit 611fd8cb72)
This commit is contained in:
Aaron Franke 2020-07-12 23:02:08 -04:00 committed by Rémi Verschelde
parent 670205a22f
commit 8cd317b551

View file

@ -402,6 +402,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 version[0] >= 7: if version[0] >= 7:
shadow_local_warning = ["-Wshadow-local"] shadow_local_warning = ["-Wshadow-local"]