Hi List,

I have been looking at testinstall-ubuntu810 builder warnings [1] and it
looks like ubuntu8.10 (and FreeBSD 7.0) adds -Wformat=2 to the default
compiler flags.

I was in the process of fixing these warnings but I think they are - for
most/all of it - false-positives. Furthermore my patches obfuscates
openchange code with no obvious security benefits; these warnings are
referring to the NULL argument passed to ldb_search format string
parameter.

This is probably not good programming practice, but I'd suggest we add a
compiler flag disabling these warnings for the moment.

Comments?

[1] 
http://buildbot.openchange.org:8010/builders/testinstall-ubuntu810/builds/12/steps/compile/logs/warnings

---
Julien Kerihuel
[email protected]
OpenChange Project Manager

GPG Fingerprint: 0B55 783D A781 6329 108A  B609 7EF6 FE11 A35F 1F79



_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to