iverilog/libveriuser
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
a_close.c updated FSF-address 2012-08-29 10:12:10 -07:00
a_compare_handles.c updated FSF-address 2012-08-29 10:12:10 -07:00
a_configure.c Add some minor VPI/ACC fixes and updates 2014-04-06 15:54:05 -07:00
a_fetch_argc.c updated FSF-address 2012-08-29 10:12:10 -07:00
a_fetch_argv.c updated FSF-address 2012-08-29 10:12:10 -07:00
a_fetch_dir.c updated FSF-address 2012-08-29 10:12:10 -07:00
a_fetch_fullname.c updated FSF-address 2012-08-29 10:12:10 -07:00
a_fetch_location.c updated FSF-address 2012-08-29 10:12:10 -07:00
a_fetch_param.c updated FSF-address 2012-08-29 10:12:10 -07:00
a_fetch_range.c updated FSF-address 2012-08-29 10:12:10 -07:00
a_fetch_tfarg.c updated FSF-address 2012-08-29 10:12:10 -07:00
a_fetch_time.c updated FSF-address 2012-08-29 10:12:10 -07:00
a_fetch_type.c updated FSF-address 2012-08-29 10:12:10 -07:00
a_fetch_type_str.c Fix declaration of acc_fetch_paramtype 2014-04-07 09:24:30 -07:00
a_fetch_value.c updated FSF-address 2012-08-29 10:12:10 -07:00
a_handle_by_name.c Remove some cppcheck reduce scope warnings. 2012-08-31 12:12:08 -07:00
a_handle_hiconn.c updated FSF-address 2012-08-29 10:12:10 -07:00
a_handle_object.c updated FSF-address 2012-08-29 10:12:10 -07:00
a_handle_parent.c updated FSF-address 2012-08-29 10:12:10 -07:00
a_handle_simulated_net.c updated FSF-address 2012-08-29 10:12:10 -07:00
a_handle_tfarg.c Remove some cppcheck reduce scope warnings. 2012-08-31 12:12:08 -07:00
a_initialize.c updated FSF-address 2012-08-29 10:12:10 -07:00
a_next.c updated FSF-address 2012-08-29 10:12:10 -07:00
a_next_bit.c updated FSF-address 2012-08-29 10:12:10 -07:00
a_next_port.c updated FSF-address 2012-08-29 10:12:10 -07:00
a_next_topmod.c updated FSF-address 2012-08-29 10:12:10 -07:00
a_object_of_type.c Add support for a generate scope to vvp and the vpi routines. 2013-07-17 10:57:02 -07:00
a_product_version.c updated FSF-address 2012-08-29 10:12:10 -07:00
a_set_value.c updated FSF-address 2012-08-29 10:12:10 -07:00
a_vcl.c Add some minor VPI/ACC fixes and updates 2014-04-06 15:54:05 -07:00
a_version.c updated FSF-address 2012-08-29 10:12:10 -07:00
asynch.c updated FSF-address 2012-08-29 10:12:10 -07:00
config.h.in updated FSF-address 2012-08-29 10:12:10 -07:00
delay.c updated FSF-address 2012-08-29 10:12:10 -07:00
exprinfo.c updated FSF-address 2012-08-29 10:12:10 -07:00
finish.c updated FSF-address 2012-08-29 10:12:10 -07:00
getcstringp.c updated FSF-address 2012-08-29 10:12:10 -07:00
getinstance.c updated FSF-address 2012-08-29 10:12:10 -07:00
getlongp.c updated FSF-address 2012-08-29 10:12:10 -07:00
getp.c updated FSF-address 2012-08-29 10:12:10 -07:00
getsimtime.c Handle scaled time is acc functions for non-scope objects 2014-04-08 11:11:49 -07:00
io_print.c updated FSF-address 2012-08-29 10:12:10 -07:00
math.c updated FSF-address 2012-08-29 10:12:10 -07:00
mc_scan_plusargs.c Fix some cppcheck warnings 2013-04-15 11:54:15 -07:00
nodeinfo.c updated FSF-address 2012-08-29 10:12:10 -07:00
nump.c updated FSF-address 2012-08-29 10:12:10 -07:00
priv.c updated FSF-address 2012-08-29 10:12:10 -07:00
priv.h updated FSF-address 2012-08-29 10:12:10 -07:00
putlongp.c updated FSF-address 2012-08-29 10:12:10 -07:00
putp.c updated FSF-address 2012-08-29 10:12:10 -07:00
spname.c updated FSF-address 2012-08-29 10:12:10 -07:00
typep.c updated FSF-address 2012-08-29 10:12:10 -07:00
veriusertfs.c Rearrange compiler warning flags 2014-07-09 09:04:17 -07:00
workarea.c updated FSF-address 2012-08-29 10:12:10 -07:00