aboutsummaryrefslogtreecommitdiff
path: root/utils/Utils.cpp
diff options
context:
space:
mode:
authorMichalis Spyrou <michalis.spyrou@arm.com>2019-10-02 17:22:11 +0100
committerMichalis Spyrou <michalis.spyrou@arm.com>2019-10-08 09:08:50 +0000
commit6bff195a51915fd88c1aa1904cf269dbd1a04f50 (patch)
tree645fc3bb8f6bbe05aeb16385a52a696973da0b73 /utils/Utils.cpp
parent6665f82b38ce904aa588230546d66e65d38f20d6 (diff)
downloadComputeLibrary-6bff195a51915fd88c1aa1904cf269dbd1a04f50.tar.gz
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 <michalis.spyrou@arm.com> Reviewed-on: https://review.mlplatform.org/c/2041 Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'utils/Utils.cpp')
-rw-r--r--utils/Utils.cpp5
1 files changed, 5 insertions, 0 deletions
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