From 52016545c1df6af650f9ea1a00a7c2870fa50ce9 Mon Sep 17 00:00:00 2001 From: Michalis Spyrou Date: Tue, 11 Jun 2019 13:38:24 +0100 Subject: COMPMID-2336: Enable implicit fallthrough warnings Change-Id: I7df8754331cc84bb5b1347344e4efeab1279a85e Signed-off-by: Michalis Spyrou Reviewed-on: https://review.mlplatform.org/c/1325 Tested-by: Arm Jenkins Reviewed-by: Michele Di Giorgio --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SConstruct') diff --git a/SConstruct b/SConstruct index 93c9792265..f18b13782c 100644 --- a/SConstruct +++ b/SConstruct @@ -147,7 +147,7 @@ if env['os'] == 'android' and ( 'clang++' not in cpp_compiler or 'clang' not in if 'clang++' in cpp_compiler: env.Append(CXXFLAGS = ['-Wno-format-nonliteral','-Wno-deprecated-increment-bool','-Wno-vla-extension','-Wno-mismatched-tags']) else: - env.Append(CXXFLAGS = ['-Wlogical-op','-Wnoexcept','-Wstrict-null-sentinel','-Wno-implicit-fallthrough', '-Wno-redundant-move']) + env.Append(CXXFLAGS = ['-Wlogical-op','-Wnoexcept','-Wstrict-null-sentinel', '-Wno-redundant-move']) if env['cppthreads']: env.Append(CPPDEFINES = [('ARM_COMPUTE_CPP_SCHEDULER', 1)]) -- cgit v1.2.1