summaryrefslogtreecommitdiffstats
path: root/src/makefile
diff options
context:
space:
mode:
authorLarry Doolittle <ldoolitt@recycle.lbl.gov>2017-11-28 19:51:23 -0800
committerLarry Doolittle <ldoolitt@recycle.lbl.gov>2017-11-28 19:51:23 -0800
commit0c85b5b9d195c0aacd96e223c31e54d77b5a2bfc (patch)
tree960f5d3c9ba153cd8aa25c31b00fa7fc8407c919 /src/makefile
parentf4cab3af39cb36c246ca933abc1574abb704a5f7 (diff)
downloadvhdl2vl-0c85b5b9d195c0aacd96e223c31e54d77b5a2bfc.tar.gz
vhdl2vl-0c85b5b9d195c0aacd96e223c31e54d77b5a2bfc.zip
C code passes -Wstrict-prototypes
Diffstat (limited to 'src/makefile')
-rw-r--r--src/makefile2
1 files changed, 1 insertions, 1 deletions
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:
OpenPOWER on IntegriCloud