[Spice-devel] [PATCH spice-gtk 2/7] build-sys: remove some gtk+ 2.0 warnings flags
Pavel Grunt
pgrunt at redhat.com
Tue May 31 10:09:36 UTC 2016
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 at gmail.com>
Acked-by: Pavel Grunt <pgrunt at redhat.com>
> ---
> 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"
More information about the Spice-devel
mailing list