Re: [PATCH spice-gtk 6/7] build-sys: -Wshift-overflow=2

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

 



On Mon, 2016-05-30 at 19:31 +0200, Marc-André Lureau wrote:
> manywarnings.m4 update will bring new flags that fail with some
> glib/gst headers.
> 
> Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxx>
Acked-by: Pavel Grunt <pgrunt@xxxxxxxxxx>
> ---
>  configure.ac | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 8f1e91b..3fe8055 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -581,7 +581,10 @@ SPICE_CHECK_LZ4
>  dnl
> ===========================================================================
>  dnl check compiler flags
>  
> -SPICE_COMPILE_WARNINGS
> +# some glib/gstreamer enums use 1 << 31
> +dontwarn="-Wshift-overflow=2"
> +
> +SPICE_COMPILE_WARNINGS([$dontwarn])
>  
>  SPICE_CFLAGS="$SPICE_CFLAGS $WARN_CFLAGS"
>  
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]