From 6bff195a51915fd88c1aa1904cf269dbd1a04f50 Mon Sep 17 00:00:00 2001 From: Michalis Spyrou Date: Wed, 2 Oct 2019 17:22:11 +0100 Subject: COMPMID-2486: Remove disabled compiler warnings Removed -Wno-unused-parameter and -Wno-deprecated-declarations compilation flags. Plus, 3RDPARTY_UPDATE. Change-Id: I43098c7af527d5651aad3c597b508a56f8813dda Signed-off-by: Michalis Spyrou Reviewed-on: https://review.mlplatform.org/c/2041 Comments-Addressed: Arm Jenkins Reviewed-by: Georgios Pinitas Tested-by: Arm Jenkins --- utils/Utils.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'utils/Utils.cpp') diff --git a/utils/Utils.cpp b/utils/Utils.cpp index baf829b473..b0e162accd 100644 --- a/utils/Utils.cpp +++ b/utils/Utils.cpp @@ -34,6 +34,7 @@ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wswitch-default" +#pragma GCC diagnostic ignored "-Wunused-parameter" #define STB_IMAGE_IMPLEMENTATION #include "stb/stb_image.h" #pragma GCC diagnostic pop @@ -313,6 +314,8 @@ void restore_program_cache_from_file(const std::string &filename) } cache_file.close(); } +#else /* ARM_COMPUTE_CL */ + ARM_COMPUTE_UNUSED(filename); #endif /* ARM_COMPUTE_CL */ } @@ -347,6 +350,8 @@ void save_program_cache_to_file(const std::string &filename) ARM_COMPUTE_ERROR("Cannot open cache file"); } } +#else /* ARM_COMPUTE_CL */ + ARM_COMPUTE_UNUSED(filename); #endif /* ARM_COMPUTE_CL */ } } // namespace utils -- cgit v1.2.1