diff options
-rw-r--r-- | unix/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/unix/Makefile b/unix/Makefile index 43b5bf2dda..6da5f6a175 100644 --- a/unix/Makefile +++ b/unix/Makefile @@ -18,7 +18,8 @@ INC += -I.. INC += -I$(BUILD) # compiler settings -CWARN = -Wall -Wpointer-arith -Werror +CWARN = -Wall -Werror +CWARN += -Wdouble-promotion -Wformat -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-prototypes -Wuninitialized -Wunused-parameter CFLAGS = $(INC) $(CWARN) -ansi -std=gnu99 -DUNIX $(CFLAGS_MOD) $(COPT) $(CFLAGS_EXTRA) # Debugging/Optimization |