Use new common flags and fix resulting warnings.
5 files changed