Re: [Qemu-devel] [PATCH 20/20] libqtest: Enable compile-time format string checking

2018-07-12 Thread Philippe Mathieu-Daudé
On 07/12/2018 08:12 AM, Markus Armbruster wrote: > qtest_qmp() & friends pass their format string and variable arguments > to qobject_from_vjsonf_nofail(). Unlike qobject_from_jsonv(), they > aren't decorated with GCC_FMT_ATTR(). Fix that to get compile-time > format string checking. > > Signed-

[Qemu-devel] [PATCH 20/20] libqtest: Enable compile-time format string checking

2018-07-12 Thread Markus Armbruster
qtest_qmp() & friends pass their format string and variable arguments to qobject_from_vjsonf_nofail(). Unlike qobject_from_jsonv(), they aren't decorated with GCC_FMT_ATTR(). Fix that to get compile-time format string checking. Signed-off-by: Markus Armbruster --- tests/libqtest.h | 32 +++