Skip to content

Commit

Permalink
removed treat warning as error flag
Browse files Browse the repository at this point in the history
  • Loading branch information
rahim-kanji committed Jan 1, 2024
1 parent e822084 commit 6b76ceb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deps/mariadb-client-library/cmakelists.txt.patch
Original file line number Diff line number Diff line change
@@ -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()
Expand All @@ -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()


0 comments on commit 6b76ceb

Please sign in to comment.