From 6fa009e05ae32e64f397f54087885c3eb68f0b4b Mon Sep 17 00:00:00 2001 From: Anthony Barbier Date: Fri, 16 Feb 2018 16:49:39 +0000 Subject: COMPMID-930 Disable warning about implicit-fallthrough in new versions of GCC Change-Id: Ibbacb65cb84ccfb64960ac00c482040353be468c Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/120875 Reviewed-by: Pablo Tello Tested-by: Jenkins --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SConstruct') diff --git a/SConstruct b/SConstruct index 7f06a37dbf..82100decfa 100644 --- a/SConstruct +++ b/SConstruct @@ -84,7 +84,7 @@ env.Append(CXXFLAGS = ['-Wno-deprecated-declarations','-Wall','-DARCH_ARM', '-Wextra','-Wno-unused-parameter','-pedantic','-Wdisabled-optimization','-Wformat=2', '-Winit-self','-Wstrict-overflow=2','-Wswitch-default', '-fpermissive','-std=gnu++11','-Wno-vla','-Woverloaded-virtual', - '-Wctor-dtor-privacy','-Wsign-promo','-Weffc++','-Wno-format-nonliteral','-Wno-overlength-strings','-Wno-strict-overflow']) + '-Wctor-dtor-privacy','-Wsign-promo','-Weffc++','-Wno-format-nonliteral','-Wno-overlength-strings','-Wno-strict-overflow','-Wno-implicit-fallthrough']) env.Append(CPPDEFINES = ['_GLIBCXX_USE_NANOSLEEP']) -- cgit v1.2.1