[Libreoffice-commits] .: sal/rtl

Matus Kukan mkukan at kemper.freedesktop.org
Mon Dec 19 03:10:26 PST 2011


 sal/rtl/source/alloc_impl.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ec64e5e36db7d9bf7c9f6fe2705c11dc54548fb7
Author: Matúš Kukan <matus.kukan at gmail.com>
Date:   Mon Dec 19 12:09:48 2011 +0100

    WaE: GCC 4.5.1 does not allow #pragma GCC diagnostic warning

diff --git a/sal/rtl/source/alloc_impl.hxx b/sal/rtl/source/alloc_impl.hxx
index 2e51abe..4452f19 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)


More information about the Libreoffice-commits mailing list