clean up compiler warnings from clang
Submitted by Simon McVittie
Assigned to D-Bus Maintainers
Description
For better code quality, we should be able to build dbus with clang so that its better (or just different) compiler warnings can point out bad code.
As a first step towards that, I've been building it with:
-Wno-error=cast-align -Wno-error=pointer-sign -Wno-error=unused-const-variable -Wno-error=tautological-compare
of which pointer-sign is Bug #15522 (and I'm not quite sure why configure isn't detecting that suppression as supported already).
Version: git master