From 6ed4da0b033187a594c00f5974014b2c10ecfc37 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sat, 7 Jan 2023 21:05:33 +0200 Subject: [PATCH] cmake : disable warnings about unused functions --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f5c5f9b..c398160 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