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

Eduardo Lima (Etrunko) etrunko at redhat.com
Thu Sep 27 14:27:00 UTC 2018


Signed-off-by: Eduardo Lima (Etrunko) <etrunko at redhat.com>
---
 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])
-- 
2.17.1



More information about the Spice-devel mailing list