Wip/gpoo/issue 1410 fix clang compilation
clang is stricter than gcc when compiling with -Wformat-nonliteral
and requires annotate the function parameters when passing an
argument to a va_list
that contains these arguments.
https://clang.llvm.org/docs/AttributeReference.html#format
Fixes #1410 (closed)