Hi, I built ClamAV 0.94.2 on Debian Etch and received 216 compiler warnings. I think a goal for all software, especially security-related software, should be to compile without warnings. (I know this can be annoying at times, but it's worth it... when you do see a warning, you can react to it instead of ignoring it because it's lost in the other 215 warnings.)
Here's a breakdown of the warnings. I've replaced variable names, etc. with 'x' to get a count of the various types of warnings, and coalesced argument 1, argument 2, etc. into argument n. count warning 1 pointer targets in return differ in signedness 1 unused variable 'x' 3 dereferencing type-punned pointer will break strict-aliasing rules 5 pointer targets in initialization differ in signedness 7 enumeration value 'x' not handled in switch 7 passing argument n of 'x' discards qualifiers from pointer target type 9 statement with no effect 24 pointer targets in assignment differ in signedness 25 'x' may be used uninitialized in this function 31 format 'x' expects type 'x', but argument n has type 'x' 103 pointer targets in passing argument n of 'x' differ in signedness Regards, David. _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml