be extra pedantic with FULL_WARNINGS
https://lobste.rs/s/9bl88u/my_favorite_c_compiler_flags_during
This commit is contained in:
parent
1fdf3526bd
commit
8eeadc40eb
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue