LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File pacemaker-Wno-format-signedness.patch of Package pacemaker (Project home:yan_gao:branches:network:ha-clustering:Factory:Test)

Index: pacemaker-1.1.18+20180118.9c3f7a49c/configure.ac
===================================================================
--- pacemaker-1.1.18+20180118.9c3f7a49c.orig/configure.ac
+++ pacemaker-1.1.18+20180118.9c3f7a49c/configure.ac
@@ -1416,10 +1416,11 @@ dnl otherwise none of both
                   [gcc can complain about nonliterals in format])
         EXTRA_FLAGS="$EXTRA_FLAGS
                     -Wformat=2 
+                    -Wno-format-signedness
                     -Wformat-nonliteral"
     else
         if test "x$gcc_format_nonliteral" = "xyes"; then
-            EXTRA_FLAGS="$EXTRA_FLAGS -Wformat=2"
+            EXTRA_FLAGS="$EXTRA_FLAGS -Wformat=2 -Wno-format-signedness"
         fi
     fi