iverilog/tgt-fpga
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 Remove some cppcheck warnings 2014-06-28 16:56:09 -07:00
d-generic-edif.c Remove some cppcheck warnings 2014-06-28 16:56:09 -07:00
d-generic.c Remove some cppcheck warnings 2014-06-28 16:56:09 -07:00
d-lpm.c Remove some cppcheck warnings 2014-06-28 16:56:09 -07:00
d-virtex.c updated FSF-address 2012-08-29 10:12:10 -07:00
d-virtex2.c updated FSF-address 2012-08-29 10:12:10 -07:00
device.h updated FSF-address 2012-08-29 10:12:10 -07:00
edif.c updated FSF-address 2012-08-29 10:12:10 -07:00
edif.h updated FSF-address 2012-08-29 10:12:10 -07:00
fpga-s.conf
fpga.c Remove some cppcheck warnings 2014-06-28 16:56:09 -07:00
fpga.conf
fpga.txt Drop useless CVS stuff in .txt files 2009-03-11 10:34:52 -07:00
fpga_priv.h updated FSF-address 2012-08-29 10:12:10 -07:00
gates.c updated FSF-address 2012-08-29 10:12:10 -07:00
generic.c updated FSF-address 2012-08-29 10:12:10 -07:00
generic.h updated FSF-address 2012-08-29 10:12:10 -07:00
iverilog-fpga.man Add more non-breaking hyphens in the manual pages. 2009-11-03 14:36:32 -08:00
mangle.c updated FSF-address 2012-08-29 10:12:10 -07:00
tables.c updated FSF-address 2012-08-29 10:12:10 -07:00
xilinx.c Remove some cppcheck warnings 2014-06-28 16:56:09 -07:00
xilinx.h updated FSF-address 2012-08-29 10:12:10 -07:00