diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2018-07-03 11:33:41 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:54:10 +0000 |
commit | 72593c793eb30adb6865fdef017a990fa3d2072d (patch) | |
tree | 5623ae0a4ed262e0c4e9813cd5817f8a5eb8c9e4 | |
parent | dce7bef58a6afba14e2238f3b505d879bd31ff01 (diff) | |
download | ComputeLibrary-72593c793eb30adb6865fdef017a990fa3d2072d.tar.gz |
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 <vidhyasudhan.loganathan@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Tested-by: Jenkins <bsgcomp@arm.com>
-rw-r--r-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
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)]) |