Fixes for the following compiler warnings:
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Wed, 1 Oct 2008 20:01:43 +0000 (20:01 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Wed, 1 Oct 2008 20:01:43 +0000 (20:01 +0000)
commit24a1cb649dd3b5c5d93fa470ebfe4d88abb2af00
treef10bbd9da55cdcfdb6ba255623239ab582b5bed1
parentad36ac7e183349921751cf61f4629258a6eb8309
Fixes for the following compiler warnings:

 - unused variable
 - unused parameter
 - assignment / argument discards qualifiers from pointer target type
 - comparison between signed and unsigned
 - too many arguments to function
 - assignment makes pointer from integer without a cast
 - incompatible pointer type
 - differ in signedness
 - implicit declaration of function
 - enumeration value not handled in switch
 - value computed is not used

Most notably, a possible segfault in the Rrd_Lastupdate() code of the TCL
bindings has been fixed.

Also, -Wundef (warn if an undefined identifier is evaluated in an #if
directive) has been removed from CFLAGS. I don't see any problem with letting
undefined identifiers evaluate to "false" in rrdtool. Keeping that option
would produce a lot of (imho unnecessary) errors which would need to be fixed
using ugly preprocessor statements like '#if defined(FOO) && FOO'.

-- Sebastian Harl

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1557 a5681a0c-68f1-0310-ab6d-d61299d08faa
bindings/ruby/extconf.rb
bindings/ruby/main.c
bindings/tcl/Makefile.am
bindings/tcl/tclrrd.c
configure.ac
src/Makefile.am
src/rrd_client.c
src/rrd_dump.c
src/rrd_gfx.c
src/rrd_open.c
src/rrd_xport.c