ucb/source/ucp/webdav/NeonUri.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit dd5f1c23331a8dbb4db35472be0a3cc47294feca
Author: Tor Lillqvist <t...@iki.fi>
Date:   Mon Sep 26 16:03:37 2011 +0300

    Do as the comment says: use the pragma for gcc >= 4.2.1

diff --git a/ucb/source/ucp/webdav/NeonUri.cxx 
b/ucb/source/ucp/webdav/NeonUri.cxx
index fd88795..5eb0f25 100644
--- a/ucb/source/ucp/webdav/NeonUri.cxx
+++ b/ucb/source/ucp/webdav/NeonUri.cxx
@@ -52,7 +52,7 @@ using namespace webdav_ucp;
                      + __GNUC_MINOR__ * 100 \
                      + __GNUC_PATCHLEVEL__)
 /* Diagnostics pragma was introduced with gcc-4.2.1 */
-#if GCC_VERSION > 40201
+#if GCC_VERSION >= 40201
 #pragma GCC diagnostic ignored "-Wwrite-strings"
 #endif
 #endif
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to