[Spice-devel] [PATCH spice-gtk 3/3] m4: Remove duplicate warnings settings

Frediano Ziglio fziglio at redhat.com
Thu Oct 4 08:56:00 UTC 2018


> 
> Signed-off-by: Eduardo Lima (Etrunko) <etrunko at redhat.com>

Acked-by: Frediano Ziglio <fziglio at redhat.com>

Frediano

> ---
>  m4/spice-compile-warnings.m4 | 9 ---------
>  1 file changed, 9 deletions(-)
> 
> diff --git a/m4/spice-compile-warnings.m4 b/m4/spice-compile-warnings.m4
> index 0ae3bd7..a7a6ff3 100644
> --- a/m4/spice-compile-warnings.m4
> +++ b/m4/spice-compile-warnings.m4
> @@ -51,9 +51,6 @@ AC_DEFUN([SPICE_COMPILE_WARNINGS],[
>      dontwarn="$dontwarn -Wformat-nonliteral"
>      dontwarn="$dontwarn -Wfloat-equal"
>      dontwarn="$dontwarn -Wdeclaration-after-statement"
> -    dontwarn="$dontwarn -Wcast-qual"
> -    dontwarn="$dontwarn -Wconversion"
> -    dontwarn="$dontwarn -Wsign-conversion"
>      dontwarn="$dontwarn -Wpacked"
>      dontwarn="$dontwarn -Wunused-macros"
>      dontwarn="$dontwarn -Woverlength-strings"
> @@ -92,16 +89,10 @@ AC_DEFUN([SPICE_COMPILE_WARNINGS],[
>      # not count on func being called with data as its first parameter."
>      gl_WARN_ADD([-Wno-cast-function-type])
>  
> -
> -
>      # GNULIB expects this to be part of -Wc++-compat, but we turn
>      # that one off, so we need to manually enable this again
>      gl_WARN_ADD([-Wjump-misses-init])
>  
> -    # GNULIB turns on -Wformat=2 which implies -Wformat-nonliteral,
> -    # so we need to manually re-exclude it.
> -    gl_WARN_ADD([-Wno-format-nonliteral])
> -
>      # This should be < 1024 really. pixman_utils is the blackspot
>      # preventing lower usage
>      gl_WARN_ADD([-Wframe-larger-than=9216])


More information about the Spice-devel mailing list