File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -430,6 +430,7 @@ if (LLAMA_ALL_WARNINGS)
430
430
-Wpointer-arith
431
431
-Wmissing-prototypes
432
432
-Werror=implicit-int
433
+ -Werror=implicit-function-declaration
433
434
)
434
435
set (cxx_flags
435
436
${warning_flags}
Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ endif # LLAMA_DISABLE_LOGS
175
175
# warnings
176
176
WARN_FLAGS = -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function
177
177
MK_CFLAGS += $(WARN_FLAGS ) -Wdouble-promotion -Wshadow -Wstrict-prototypes -Wpointer-arith -Wmissing-prototypes \
178
- -Werror=implicit-int
178
+ -Werror=implicit-int -Werror=implicit-function-declaration
179
179
MK_CXXFLAGS += $(WARN_FLAGS ) -Wmissing-declarations -Wmissing-noreturn -Wextra-semi
180
180
181
181
# TODO(cebtenzzre): remove this once PR #2632 gets merged
You can’t perform that action at this time.
0 commit comments