make : build with -Wmissing-prototypes (#2394)

This commit is contained in:
Cebtenzzre authored and GitHub committed 2023-07-26 21:00:04 +03:00
1 parent 5488fb789e
commit 6df1f5940f
2 files changed
+3 -1

No files matched your search

+2 -1
View File
@@ -63,7 +63,8 @@ ifdef LLAMA_SERVER_VERBOSE
endif
# warnings
CFLAGS += -Wall -Wextra -Wpedantic -Wcast-qual -Wdouble-promotion -Wshadow -Wstrict-prototypes -Wpointer-arith
CFLAGS += -Wall -Wextra -Wpedantic -Wcast-qual -Wdouble-promotion -Wshadow -Wstrict-prototypes -Wpointer-arith \
-Wmissing-prototypes
CXXFLAGS += -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wno-multichar
# OS specific