iverilog/tgt-vlog95
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
cppcheck.sup vlog95: for cppcheck the target functions are used by the compiler. 2014-05-21 09:04:49 -07:00
event.c vlog95: Fix the passing of the sign extend information in a CA 2013-06-27 19:44:17 -07:00
expr.c Pick some low-hanging const fruit 2014-06-09 10:47:28 -07:00
logic_lpm.c Fuss with C function prototypes 2014-07-08 13:44:11 -07:00
misc.c vlog95: more procedural $signed()/$unsigned() support 2013-07-09 17:55:21 -07:00
numbers.c Clean up some more sign-compare issues 2014-06-17 12:57:26 -07:00
scope.c Pick some low-hanging const fruit 2014-06-09 10:47:28 -07:00
stmt.c Fuss with C function prototypes 2014-07-08 13:44:11 -07:00
udp.c vlog95: Major rework of nexus emitting code, etc. 2012-01-02 11:29:42 -08:00
vlog95-s.conf vlog95: block generating a concat-Z LPM device in the compiler. 2013-02-13 19:19:21 -08:00
vlog95.c vlog95: Emit if using signed and add the number of errors to the output 2013-02-15 19:43:19 -08:00
vlog95.conf vlog95: block generating a concat-Z LPM device in the compiler. 2013-02-13 19:19:21 -08:00
vlog95_priv.h Fuss with C function prototypes 2014-07-08 13:44:11 -07:00