iverilog/driver
Larry Doolittle e221a8ced9 Rearrange compiler warning flags
Before this patch, WARNING_FLAGS applied to both C and C++,
and WARNING_FLAGS_CXX applied to C++ only.
This patch adds a WARNING_FLAGS_CC that applies to C only.
That change should be generally useful; in particular the C
code is almost ready for -Wstrict-prototypes, which does not
apply to C++.

-Wextra (or -W) used to only apply to C++ via WARNING_FLAGS_CXX.
This patch moves it to WARNING_FLAGS, to apply to both C and C++.
Unfortunately, that triggers a ton of warnings.

For now, cover most of the new warnings up by adding
-Wno-unused -Wno-sign-compare -Wno-type-limits
to WARNING_FLAGS_CC.  In the long run, I want to change the C coding
style, and take off these disable-warning flags.  But those changes
can dribble in as separate commits; this patch is big enough already.

Actually fix a couple missing-field-initializers in libveriuser/veriusertfs.c.
2014-07-09 09:04:17 -07:00
..
Makefile.in Rearrange compiler warning flags 2014-07-09 09:04:17 -07:00
cflexor.lex Fuss with C function prototypes 2014-07-08 13:44:11 -07:00
cfparse.y Some more cppcheck cleanup/updates 2014-06-29 20:39:40 -07:00
cfparse_misc.h Fuss with C function prototypes 2014-07-08 13:44:11 -07:00
globals.h Added width cap for unsized expressions. 2014-02-27 19:20:20 +00:00
iverilog.man.in Added width cap for unsized expressions. 2014-02-27 19:20:20 +00:00
main.c Fuss with C function prototypes 2014-07-08 13:44:11 -07:00
substit.c updated FSF-address 2012-08-29 10:12:10 -07:00