From 72593c793eb30adb6865fdef017a990fa3d2072d Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Tue, 3 Jul 2018 11:33:41 +0100 Subject: COMPMID-1246: Add -Wno-implicit-fallthrough flag on gcc compilation Change-Id: I419ea7c97aa3a85bd13e5c124c4d89eb07321e73 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/138456 Reviewed-by: Vidhya Sudhan Loganathan Reviewed-by: Anthony Barbier Tested-by: Jenkins --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SConstruct') diff --git a/SConstruct b/SConstruct index f72c568fbe..ccc92168e9 100644 --- a/SConstruct +++ b/SConstruct @@ -106,7 +106,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']) + env.Append(CXXFLAGS = ['-Wlogical-op','-Wnoexcept','-Wstrict-null-sentinel','-Wno-implicit-fallthrough']) if env['cppthreads']: env.Append(CPPDEFINES = [('ARM_COMPUTE_CPP_SCHEDULER', 1)]) -- cgit v1.2.1