Fix various warnings found by -Wall (mainly linked to functions with variadic arguments)
Merge branch 'master' into master_with_coverage