From 724a0c207185b3b56d126dccdb0a7a9f505e542a Mon Sep 17 00:00:00 2001 From: Cebtenzzre Date: Thu, 14 Sep 2023 16:14:05 -0400 Subject: [PATCH] build : remove -Wno-multichar as it is no longer needed --- CMakeLists.txt | 1 - Makefile | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6c6fd9fd8..4f24eb99f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -432,7 +432,6 @@ if (LLAMA_ALL_WARNINGS) -Wcast-qual -Wmissing-declarations -Wno-unused-function - -Wno-multichar ) if (CMAKE_CXX_COMPILER_ID MATCHES "Clang") # clang++ only set(cxx_flags ${cxx_flags} -Wmissing-prototypes) diff --git a/Makefile b/Makefile index 231a1f1c4..f3da318ef 100644 --- a/Makefile +++ b/Makefile @@ -175,7 +175,7 @@ endif # LLAMA_DISABLE_LOGS # warnings MK_CFLAGS += -Wall -Wextra -Wpedantic -Wcast-qual -Wdouble-promotion -Wshadow -Wstrict-prototypes -Wpointer-arith \ -Wmissing-prototypes -Werror=implicit-int -Wno-unused-function -MK_CXXFLAGS += -Wall -Wextra -Wpedantic -Wcast-qual -Wmissing-declarations -Wno-unused-function -Wno-multichar +MK_CXXFLAGS += -Wall -Wextra -Wpedantic -Wcast-qual -Wmissing-declarations -Wno-unused-function # TODO(cebtenzzre): remove this once PR #2632 gets merged TTFS_CXXFLAGS = $(CXXFLAGS) -Wno-missing-declarations