Am 13.03.2014 12:31, schrieb Peter Maydell: > Older versions of gcc (eg 4.6) can't handle varargs functions declared > inline for anything other than completely trivial uses, and complain: > > tests/qom-test.c: In function 'qmp': tests/libqtest.h:359:60: sorry, > unimplemented: function 'qmp' can never be inlined because it uses > variable argument lists > > Avoid this problem by putting the functions into libqtest.c instead > of using inline definitions in libqtest.h. > > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org>
Reviewed-by: Andreas Färber <afaer...@suse.de> Feel free to go ahead with this. Thanks, Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg