On Mon, 2016-01-25 at 16:37 +0000, Ian Campbell wrote: > On Mon, 2016-01-25 at 17:24 +0100, Olaf Hering wrote: > > On Mon, Jan 25, Ian Campbell wrote: > > > > > When splitting out various functionality from libxc into tools/libs/* > > > I attempted to make it possible to avoid callers being unnecessarily > > > exposed to the xentoollog interface by providing a typedef of the > > > xentoollog_logger handle in each of the headers. > > > > Perhaps you already have another change in the queue. staging still > > fails for me with evtchn_port_or_error_t xenevtchn_handle, like: > > I'm afraid not. > > I'll take a look.
I managed to reproduce with gcc-4.4 on my workstation, except I had to disable the Python bits (because it apparently hardcodes CFLAGS from the default compiler but still obey's $(CC) or something). With that I've sent two more fixes for issues in this area. Boris, copying you since you are suffering from these sorts of issues too. > > > > > > [ 130s] In file included from xc_private.h:35, > > [ 130s] from xc_suspend.c:21: > > [ 130s] ./include/xenctrl.h:1080: error: redefinition of typedef > > 'evtchn_port_or_error_t' > > [ 130s] /usr/src/packages/BUILD/xen-4.7.20160125T154552.84e0616/non- > > dbg/tools/libxc/../../tools/libs/evtchn/include/xenevtchn.h:31: error: > > previous declaration of 'evtchn_port_or_error_t' was here > > [ 130s] In file included from xc_suspend.c:22: > > [ 130s] ./include/xenguest.h:41: error: redefinition of typedef > > 'xenevtchn_handle' > > [ 130s] /usr/src/packages/BUILD/xen-4.7.20160125T154552.84e0616/non- > > dbg/tools/libxc/../../tools/libs/evtchn/include/xenevtchn.h:33: error: > > previous declaration of 'xenevtchn_handle' was here > > > > Olaf > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel