[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 1/4] interface: avoid redefinition of __XEN_INTERFACE_VERSION__
>>> On 28.02.17 at 11:34, <JGross@xxxxxxxx> wrote: > In stubdom environment __XEN_INTERFACE_VERSION__ is sometimes defined > on the command line of the build instruction. This conflicts with > xen-compat.h defining it unconditionally if __XEN__ or __XEN_TOOLS__ > is set. Then that's what wants fixing. In fact it's questionable whether __XEN_TOOLS__ (or even __XEN__) getting defined there is appropriate. > Just use #undef in this case to avoid the resulting warning. I think the lack of a warning in case of a collision is worse here. People should simply not define both the version symbol and either of __XEN__ or __XEN_TOOLS__. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |