From 0c85b5b9d195c0aacd96e223c31e54d77b5a2bfc Mon Sep 17 00:00:00 2001 From: Larry Doolittle Date: Tue, 28 Nov 2017 19:51:23 -0800 Subject: C code passes -Wstrict-prototypes --- src/makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/makefile') diff --git a/src/makefile b/src/makefile index 7960b98..e8563db 100644 --- a/src/makefile +++ b/src/makefile @@ -7,7 +7,7 @@ WARNS = -Wall -W # Leave off -Wtraditional-conversion until flex and bison get cleaned up. # Use -W for now instead of the more modern -Wextra, since lots of people # still use older compilers. -# WARNS = -Wall -W -Wshadow -Wundef -Wredundant-decls -Wpointer-arith -Wcast-qual -Wpointer-arith -Wcast-align -Wcast-qual -Wsign-compare -Wwrite-strings -Wformat=2 -pedantic +WARNS = -Wall -W -Wshadow -Wundef -Wredundant-decls -Wpointer-arith -Wcast-qual -Wpointer-arith -Wcast-align -Wcast-qual -Wsign-compare -Wwrite-strings -Wstrict-prototypes -Wformat=2 -pedantic # Code generated by yacc-3.0.2 fails -Wstrict-overflow=5 # any of the following three should work: -- cgit v1.2.1