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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Eduardo Lima (Etrunko) <etrunko@xxxxxxxxxx>
---
 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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]