aboutsummaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorMichalis Spyrou <michalis.spyrou@arm.com>2019-10-16 17:41:33 +0100
committerMichalis Spyrou <michalis.spyrou@arm.com>2019-10-17 15:36:33 +0000
commitfae513c5585b9ba09c3aa8bfd4f7119208b7b5f9 (patch)
tree4c87da93a765e880d22a53904543e2e91660f7a5 /SConstruct
parentebaddb600795911dc4e4c446d4f612caa009aaa1 (diff)
downloadComputeLibrary-fae513c5585b9ba09c3aa8bfd4f7119208b7b5f9.tar.gz
COMPMID-2486: Remove/add disabled compiler warnings
Removed the following flags: -Wno-vla -Wno-strict-overflow Added: -Wformat-security Change-Id: I49eb3d724e14db796e543164295674617c37cb65 Signed-off-by: Michalis Spyrou <michalis.spyrou@arm.com> Reviewed-on: https://review.mlplatform.org/c/2109 Tested-by: Arm Jenkins <bsgcomp@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index 83eb7e03f3..8509fedbb3 100644
--- a/SConstruct
+++ b/SConstruct
@@ -132,8 +132,8 @@ if not env['exceptions']:
env.Append(CXXFLAGS = ['-Wall','-DARCH_ARM',
'-Wextra','-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-overlength-strings','-Wno-strict-overflow'])
+ '-fpermissive','-std=gnu++11','-Woverloaded-virtual', '-Wformat-security',
+ '-Wctor-dtor-privacy','-Wsign-promo','-Weffc++','-Wno-overlength-strings'])
env.Append(CPPDEFINES = ['_GLIBCXX_USE_NANOSLEEP'])