From a183a8363d89c9750c0d9fd8f6e7b902978f7b4f Mon Sep 17 00:00:00 2001
From: Sergey Fedorov <vital.had@gmail.com>
Date: Wed, 3 Apr 2024 14:27:49 +0800
Subject: [PATCH] Fix tests

---
 CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git CMakeLists.txt CMakeLists.txt
index 8fb7f91..c53d718 100755
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -89,6 +89,8 @@ endif()
 # we hide all unneeded symbols
 if( NOT MZ_WINDOWS )
     mz_add_flag(GCC -fvisibility=hidden)
+    mz_add_flag(GCC -Wno-unused-but-set-variable)
+    mz_add_flag(GCC -Wno-deprecated-declarations)
 endif()
 mz_add_definition(XDISPATCH_MAKEDLL)
 if( BUILD_XDISPATCH2_STATIC )
