build : remove -Wno-multichar as it is no longer needed
This commit is contained in:
parent
e63254755c
commit
724a0c2071
2 changed files with 1 additions and 2 deletions
|
@ -432,7 +432,6 @@ if (LLAMA_ALL_WARNINGS)
|
||||||
-Wcast-qual
|
-Wcast-qual
|
||||||
-Wmissing-declarations
|
-Wmissing-declarations
|
||||||
-Wno-unused-function
|
-Wno-unused-function
|
||||||
-Wno-multichar
|
|
||||||
)
|
)
|
||||||
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang") # clang++ only
|
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang") # clang++ only
|
||||||
set(cxx_flags ${cxx_flags} -Wmissing-prototypes)
|
set(cxx_flags ${cxx_flags} -Wmissing-prototypes)
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -175,7 +175,7 @@ endif # LLAMA_DISABLE_LOGS
|
||||||
# warnings
|
# warnings
|
||||||
MK_CFLAGS += -Wall -Wextra -Wpedantic -Wcast-qual -Wdouble-promotion -Wshadow -Wstrict-prototypes -Wpointer-arith \
|
MK_CFLAGS += -Wall -Wextra -Wpedantic -Wcast-qual -Wdouble-promotion -Wshadow -Wstrict-prototypes -Wpointer-arith \
|
||||||
-Wmissing-prototypes -Werror=implicit-int -Wno-unused-function
|
-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
|
# TODO(cebtenzzre): remove this once PR #2632 gets merged
|
||||||
TTFS_CXXFLAGS = $(CXXFLAGS) -Wno-missing-declarations
|
TTFS_CXXFLAGS = $(CXXFLAGS) -Wno-missing-declarations
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue