sal/rtl/source/alloc_impl.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit ec64e5e36db7d9bf7c9f6fe2705c11dc54548fb7 Author: Matúš Kukan <matus.ku...@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)
_______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits