turn on -Wsign-compare

This commit is contained in:
Leonardo Hernández Hernández 2023-01-11 12:13:53 -06:00 committed by Leonardo Hernández Hernández
parent 337d6ba3fb
commit 0151bd48dd
No known key found for this signature in database
GPG key ID: E538897EE11B9624
3 changed files with 13 additions and 11 deletions

View file

@ -5,7 +5,7 @@ include config.mk
# flags for compiling
DWLCPPFLAGS = -I. -DWLR_USE_UNSTABLE -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" $(XWAYLAND)
DWLDEVCFLAGS = -g -pedantic -Wall -Wextra -Wdeclaration-after-statement -Wno-unused-parameter -Wno-sign-compare -Wshadow -Wunused-macros\
DWLDEVCFLAGS = -g -pedantic -Wall -Wextra -Wdeclaration-after-statement -Wno-unused-parameter -Wshadow -Wunused-macros\
-Werror=strict-prototypes -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types
# CFLAGS / LDFLAGS