From 6b76ceb5e7867a6ce1d9045eac9687f591618688 Mon Sep 17 00:00:00 2001 From: Rahim Kanji Date: Mon, 1 Jan 2024 12:09:36 +0500 Subject: [PATCH] removed treat warning as error flag --- deps/mariadb-client-library/cmakelists.txt.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deps/mariadb-client-library/cmakelists.txt.patch b/deps/mariadb-client-library/cmakelists.txt.patch index 08ffac1c9a..32002b9158 100644 --- a/deps/mariadb-client-library/cmakelists.txt.patch +++ b/deps/mariadb-client-library/cmakelists.txt.patch @@ -1,5 +1,5 @@ diff --git CMakeLists.txt CMakeLists.txt -index d7150b4d..ff32e2f2 100644 +index d7150b4d..e8508f8f 100644 --- CMakeLists.txt +++ CMakeLists.txt @@ -286,7 +286,7 @@ ELSEIF() @@ -16,7 +16,7 @@ index d7150b4d..ff32e2f2 100644 SET(WARNING_AS_ERROR "/WX") ENDIF() -SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${WARNING_AS_ERROR}") -+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${WARNING_AS_ERROR} -Wno-deprecated-non-prototype") ++#SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${WARNING_AS_ERROR}") ENDIF()