be extra pedantic with FULL_WARNINGS

https://lobste.rs/s/9bl88u/my_favorite_c_compiler_flags_during
This commit is contained in:
Gwenhael Le Moine 2023-05-03 13:31:51 +02:00
parent 1fdf3526bd
commit 8eeadc40eb
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -19,7 +19,7 @@ endif
FULL_WARNINGS = no
ifeq ($(FULL_WARNINGS), yes)
CFLAGS += -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wconversion -Wdouble-promotion -Wno-sign-conversion -fsanitize=undefined -fsanitize-trap
CFLAGS += -Wall -Wextra -Wpedantic -Wno-unused-parameter -Wno-unused-function -Wconversion -Wdouble-promotion -Wno-sign-conversion -fsanitize=undefined -fsanitize-trap
endif
.PHONY: all clean clean-all pretty-code install