Am 05.08.2013 17:16, schrieb Alberto Garcia: > On Fri, Aug 02, 2013 at 11:16:56PM +0200, Andreas Färber wrote: > >> +#define IPOCTAL_GET_PARENT_CLASS(obj) \ >> + OBJECT_GET_PARENT_CLASS(obj, TYPE_IPOCTAL) > > Hey, I cannot make it compile with the latest master: > > hw/char/ipoctal232.c: In function ‘ipoctal_realize’: > hw/char/ipoctal232.c:544:5: error: implicit declaration of function > ‘OBJECT_GET_PARENT_CLASS’ [-Werror=implicit-function-declaration] > hw/char/ipoctal232.c:544:5: error: nested extern declaration of > ‘OBJECT_GET_PARENT_CLASS’ [-Werror=nested-externs]
Sorry, forgot to mention that in the cover letter: The branch linked to has one patch before this series introducing that macro. It's on the list as part of the virtio conversion series: http://patchwork.ozlabs.org/patch/263863/ Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg