FYI: small monitoring tool

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Dec 13 08:03:29 GMT 2006


On Tue, Dec 12, 2006 at 12:35:39PM +0100, Marco Strack wrote:
> Comments are welcome.

Just a quick one: I always compile with

CFLAGS= -Wshadow -Wpointer-arith -Wcast-align -Wfloat-equal
-Wstrict-aliasing=2 -Wpointer-arith -Wwrite-strings -Wshadow
-Wstrict-prototypes -Wcast-align -Wwrite-strings
-Wdeclaration-after-statement -Wall -O3

Usually this shows some *very* useful warnings. In
particular the uninitialized variable warnings point out
real bugs, and you only see them with -O3.

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20061213/c136dbeb/attachment.bin


More information about the samba-technical mailing list