From: Georgi Gerganov Date: Sat, 7 Jan 2023 19:05:33 +0000 (+0200) Subject: cmake : disable warnings about unused functions X-Git-Tag: upstream/0.0.1642~1589 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=6ed4da0b033187a594c00f5974014b2c10ecfc37;p=pkg%2Fggml%2Fsources%2Fggml cmake : disable warnings about unused functions --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f5c5f9b7..c3981602 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -9,6 +9,7 @@ if (GGML_ALL_WARNINGS) -Wcast-qual \ -Wstrict-prototypes \ -Wpointer-arith \ + -Wno-unused-function \ ") else() # todo : windows