Cleanup Makefile and add more warnings.

This commit is contained in:
igor
2026-04-09 19:49:27 -07:00
parent d3cee7409c
commit a2985c20ef
+3 -1
View File
@@ -20,7 +20,9 @@ UFLAGS =
# hence we ignore the incompliance in our code. # hence we ignore the incompliance in our code.
# NOTE: We allow function declrations with specifying void # NOTE: We allow function declrations with specifying void
# (ex, void test() is allowed). # (ex, void test() is allowed).
FLAGS = -ansi -pedantic -pedantic-errors -Wno-long-long -Wno-overlength-strings \ FLAGS = -ansi -pedantic -pedantic-errors -Wno-long-long \
-Wno-overlength-strings -Wincompatible-pointer-types \
-Wint-conversion -Wimplicit-int-float-conversion -Wformat \
-Wno-strict-prototypes -Wall -Wextra -fno-caret-diagnostics \ -Wno-strict-prototypes -Wall -Wextra -fno-caret-diagnostics \
-fno-show-column -Wno-missing-field-initializers \ -fno-show-column -Wno-missing-field-initializers \
-Wno-unused-function -Wno-unused-parameter -Wno-unused-variable \ -Wno-unused-function -Wno-unused-parameter -Wno-unused-variable \