diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-09-26 16:03:37 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-09-26 16:11:21 +0300 |
commit | dd5f1c23331a8dbb4db35472be0a3cc47294feca (patch) | |
tree | 4d99f8afc489ceb38ce7e7f5365c0380f2215424 /ucb/source/ucp | |
parent | a5729deee5f9b52ef2169791471ea484518680a5 (diff) |
Do as the comment says: use the pragma for gcc >= 4.2.1
Diffstat (limited to 'ucb/source/ucp')
-rw-r--r-- | ucb/source/ucp/webdav/NeonUri.cxx | 2 |
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 |