summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-09-26 16:03:37 +0300
committerTor Lillqvist <tml@iki.fi>2011-09-26 16:11:21 +0300
commitdd5f1c23331a8dbb4db35472be0a3cc47294feca (patch)
tree4d99f8afc489ceb38ce7e7f5365c0380f2215424 /ucb
parenta5729deee5f9b52ef2169791471ea484518680a5 (diff)
Do as the comment says: use the pragma for gcc >= 4.2.1
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav/NeonUri.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/webdav/NeonUri.cxx b/ucb/source/ucp/webdav/NeonUri.cxx
index fd88795bef74..5eb0f25de720 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