Warning fixes

Merged Ghost User requested to merge wip/ernestask/build-fixes-and-much-much-more into master

Merge request reports