diff options
Diffstat (limited to 'sal/rtl')
-rw-r--r-- | sal/rtl/source/alloc_impl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/source/alloc_impl.h b/sal/rtl/source/alloc_impl.h index 39bbbf6be985..55f6ed3d1b38 100644 --- a/sal/rtl/source/alloc_impl.h +++ b/sal/rtl/source/alloc_impl.h @@ -264,7 +264,7 @@ typedef CRITICAL_SECTION rtl_memory_lock_type; #define GCC_VERSION (__GNUC__ * 10000 \ + __GNUC_MINOR__ * 100 \ + __GNUC_PATCHLEVEL__) -#if GCC_VERSION >= 40201 +#if GCC_VERSION >= 40201 && !defined __clang__ #pragma GCC diagnostic warning "-Wunused-but-set-variable" #endif #endif /* NVALGRIND || HAVE_MEMCHECK_H */ |