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
1 changed files with 1 additions and 0 deletions

View File

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