Disable "misleading indentation" warning on GCC
This commit is contained in:
parent
f10f76d95d
commit
611fd8cb72
|
@ -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"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue