From f9f667ddab0e849e73602a15a72a0606319201f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Hern=C3=A1ndez=20Cordero?= Date: Thu, 25 Jul 2024 18:46:45 +0200 Subject: [PATCH] Suppress clang error because of deprecation (#199) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Suppress clang error because of deprecation Signed-off-by: Alejandro Hernández Cordero * feedback Signed-off-by: Alejandro Hernández Cordero --------- Signed-off-by: Alejandro Hernández Cordero --- test/test_filesystem_helper.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test_filesystem_helper.cpp b/test/test_filesystem_helper.cpp index c277e39..b375c9e 100644 --- a/test/test_filesystem_helper.cpp +++ b/test/test_filesystem_helper.cpp @@ -28,6 +28,10 @@ static constexpr const bool is_win32 = false; #if !defined(_WIN32) # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Wdeprecated-declarations" +# ifdef __clang__ +# pragma clang diagnostic push +# pragma clang diagnostic ignored "-Wdeprecated-declarations" +# endif #else // !defined(_WIN32) # pragma warning(push) # pragma warning(disable: 4996)