|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] libvirt: disable Werror for non-libvirt flights
Roger Pau Monne writes ("[PATCH] libvirt: disable Werror for non-libvirt
flights"):
> Current usage of Werror=switch-enum by default for libvirt builds out
> of the git tree causes issues when new items are added to libxl public
> API enums if those are used in a switch statement in libvirt code.
> This leads to libvirt build failures for seemingly unrelated libxl
> changes.
>
> In order to prevent those errors from blocking the push gate, disable
> Werror for libvirt builds when not in a libvirt specific flight.
>
> The errors will be reported on the libvirt flight, and block the
> pushes there. So the author of the changes in libxl is still expected
> to send a fix to libvirt code. This is no ideal, but the other option
> is to just disable Werror for all libvirt builds and let libvirt
> developers fix the breakage when they notice it.
..
> +build-i386-libvirt autogen_options
> --disable-werror
We have no way to specify -Wno-error-switch-enum specifically ?
(I'm not sure if that would be desirable.)
> I'm unsure whether we want o disable Werror even for libvirt flights,
> but this seems more conservative.
Probably disabling it only for Xen is right.
Ian.
--
Ian Jackson <ijackson@xxxxxxxxxxxxxxxxxxxxxx> These opinions are my own.
Pronouns: they/he. If I emailed you from @fyvzl.net or @evade.org.uk,
that is a private address which bypasses my fierce spamfilter.
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |