Fixes to address we7 specific warnings

Hi Flaurent,

we have some additional warnings enabled in our build settings which this pull requests eliminates. Some of them may be too pedantic for your taste but I thought I'd shoot over a PR for your review anyway.

I tried to disable the warnings on a per-file basis but failed - so this was the only way for us to eliminate them. It would make our life of pulling NSLogger updates a little easier if they went in upstream - and maybe help others as well.