[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] tools: avoid redefinition of typedefs



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:

[  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@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.