[Spice-commits] m4/spice-compile-warnings.m4

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Oct 4 08:55:20 UTC 2018


 m4/spice-compile-warnings.m4 |    9 ---------
 1 file changed, 9 deletions(-)

New commits:
commit 2adcc468d7b5605f7985bf6d154b0ffe2a481384
Author: Eduardo Lima (Etrunko) <etrunko at redhat.com>
Date:   Thu Sep 27 11:27:00 2018 -0300

    m4: Remove duplicate warnings settings
    
    Signed-off-by: Eduardo Lima (Etrunko) <etrunko at redhat.com>
    Acked-by: Frediano Ziglio <fziglio at redhat.com>

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-commits mailing list