Re: [PATCH spice-gtk 2/7] build-sys: remove some gtk+ 2.0 warnings flags

[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:
> As we dropped gtk+ 2.0 anyway.
> 
> Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxx>
Acked-by: Pavel Grunt <pgrunt@xxxxxxxxxx>
> ---
>  configure.ac | 7 -------
>  1 file changed, 7 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index c94d41b..3c90e9e 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -585,13 +585,6 @@ dnl check compiler flags
>  # decl mess with  src/generated_*.c
>  dontwarn="-Wmissing-declarations"
>  
> -# We want to enable these, but Gtk+2.0 has a bad decl
> -# gtk-2.0/gtk/gtkitemfactory.h:47:1: error: function declaration
> -# isn't a prototype.
> -if test "$with_gtk" = "2.0"; then
> -  dontwarn="$dontwarn -Wstrict-prototypes"
> -fi
> -
>  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]