diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2011-12-19 12:09:48 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2011-12-19 12:10:15 +0100 |
commit | ec64e5e36db7d9bf7c9f6fe2705c11dc54548fb7 (patch) | |
tree | 23d34cf375d0d37dad1a9a2346c0a42ee01e7589 | |
parent | 9bf638c8f0a744965aa3e9568bf6fe8caaf57f25 (diff) |
WaE: GCC 4.5.1 does not allow #pragma GCC diagnostic warning
-rw-r--r-- | sal/rtl/source/alloc_impl.hxx | 2 |
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) |