diff options
-rw-r--r-- | arm_compute/core/Types.h | 5 | ||||
-rw-r--r-- | tests/SConscript | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/arm_compute/core/Types.h b/arm_compute/core/Types.h index 639170f0fd..12c4e25222 100644 --- a/arm_compute/core/Types.h +++ b/arm_compute/core/Types.h @@ -127,8 +127,9 @@ enum class DataLayoutDimension struct QuantizationInfo { /** Default constructor */ - QuantizationInfo() - : scale(0.0f), offset(0) + QuantizationInfo() noexcept + : scale(0.0f), + offset(0) { } 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") |