From dd5f1c23331a8dbb4db35472be0a3cc47294feca Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 26 Sep 2011 16:03:37 +0300 Subject: Do as the comment says: use the pragma for gcc >= 4.2.1 --- ucb/source/ucp/webdav/NeonUri.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ucb/source/ucp') 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 -- cgit