-pedantic -> -Wpedantic

Bug: https://codeberg.org/dwl/dwl/issues/584
This commit is contained in:
Leonardo Hernández Hernández
2024-08-01 20:38:57 -06:00
parent 672b4c405d
commit d136dadf45
2 changed files with 5 additions and 2 deletions

View File

@@ -6,7 +6,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 \
DWLDEVCFLAGS = -g -Wpedantic -Wall -Wextra -Wdeclaration-after-statement \
-Wno-unused-parameter -Wshadow -Wunused-macros -Werror=strict-prototypes \
-Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types \
-Wfloat-conversion