summaryrefslogtreecommitdiff
path: root/sal/rtl
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2011-12-19 12:09:48 +0100
committerMatúš Kukan <matus.kukan@gmail.com>2011-12-19 12:10:15 +0100
commitec64e5e36db7d9bf7c9f6fe2705c11dc54548fb7 (patch)
tree23d34cf375d0d37dad1a9a2346c0a42ee01e7589 /sal/rtl
parent9bf638c8f0a744965aa3e9568bf6fe8caaf57f25 (diff)
WaE: GCC 4.5.1 does not allow #pragma GCC diagnostic warning
Diffstat (limited to 'sal/rtl')
-rw-r--r--sal/rtl/source/alloc_impl.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/source/alloc_impl.hxx b/sal/rtl/source/alloc_impl.hxx
index 2e51abe2149b..4452f19e320c 100644
--- a/sal/rtl/source/alloc_impl.hxx
+++ b/sal/rtl/source/alloc_impl.hxx
@@ -260,7 +260,7 @@ typedef CRITICAL_SECTION rtl_memory_lock_type;
#define GCC_VERSION (__GNUC__ * 10000 \
+ __GNUC_MINOR__ * 100 \
+ __GNUC_PATCHLEVEL__)
-#if GCC_VERSION >= 40201 && !defined __clang__
+#if GCC_VERSION >= 40600 && !defined __clang__
#pragma GCC diagnostic warning "-Wunused-but-set-variable"
#endif
#define RTL_VALGRIND_IGNORE_VAL (void)