Re: [Qemu-devel] [PATCH] libqtest: Avoid inline varargs functions

2014-03-13 Thread Peter Maydell
On 13 March 2014 12:31, Andreas Färber wrote: > 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

Re: [Qemu-devel] [PATCH] libqtest: Avoid inline varargs functions

2014-03-13 Thread Andreas Färber
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

[Qemu-devel] [PATCH] libqtest: Avoid inline varargs functions

2014-03-13 Thread 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 lis