From f8d8f3aff04faf731f20411ecb91027eab4365c5 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Wed, 6 Jun 2018 17:57:04 +0100 Subject: COMPMID-1200: Missing noexcept specifiers Disables Wnoexcept in tests Used gcc 8.2 to reproduce. Change-Id: I06f4636d96bd3ac98dace72341bb808edcd23750 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/134490 Tested-by: Jenkins Reviewed-by: Anthony Barbier --- tests/SConscript | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/SConscript') diff --git a/tests/SConscript b/tests/SConscript index 6a6ee623b2..a58e1f2ea9 100644 --- a/tests/SConscript +++ b/tests/SConscript @@ -57,6 +57,10 @@ Help(new_options.GenerateHelpText(test_env)) Import("arm_compute_test_framework") test_env.Append(LIBS = arm_compute_test_framework) +# Remove -Wnoexcept from tests +if 'g++' in test_env['CXX'] and '-Wnoexcept' in test_env['CXXFLAGS']: + test_env['CXXFLAGS'].remove("-Wnoexcept") + if env['os'] in ['android', 'bare_metal'] or env['standalone']: Import("arm_compute_a") Import("arm_compute_core_a") -- cgit v1.2.1