From 98b8511fd2e6fe850344ee2c69a93475bced811d Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Wed, 10 Jul 2019 16:44:45 +0100 Subject: COMPMID-2463: Add deprecation macro to deprecate interfaces 3RDPARTY_UPDATE Adds deprecation macros: - ARM_COMPUTE_DEPRECATED : Simple deprecation macro - ARM_COMPUTE_DEPRECATED_REL : Deprecation with deprecation release id - ARM_COMPUTE_DEPRECATED_REL_REPLACE : Deprecation with deprecation release id and replacement interface Change-Id: I71af81a7bf1a36ac27fe57340529c870f4cff862 Signed-off-by: Georgios Pinitas Reviewed-on: https://review.mlplatform.org/c/1512 Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins Reviewed-by: Michele Di Giorgio --- tests/SConscript | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/SConscript') diff --git a/tests/SConscript b/tests/SConscript index 99ca2da3ff..103874f63f 100644 --- a/tests/SConscript +++ b/tests/SConscript @@ -58,6 +58,12 @@ Help(new_options.GenerateHelpText(test_env)) Import("arm_compute_test_framework") test_env.Append(LIBS = arm_compute_test_framework) +# Remove warnings from tests +warnings_to_remove = ['-Wno-deprecated-declarations'] +for warning in warnings_to_remove: + if warning in test_env['CXXFLAGS']: + test_env['CXXFLAGS'].remove(warning) + # Remove -Wnoexcept from tests if 'g++' in test_env['CXX'] and '-Wnoexcept' in test_env['CXXFLAGS']: test_env['CXXFLAGS'].remove("-Wnoexcept") -- cgit v1.2.1