More pedantic warnings
Fix of errors triggered by more pedantic compile options
Merge pull request #849 from PX4/compile_pedantic

Compile pedantic