diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-08-12 13:15:01 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-08-12 13:15:01 +0300 |
commit | d6570fcaede9e1b33e50dfbb8c1b074bd9b660c2 (patch) | |
tree | d5aa7f5861492337fd3dbf0c166f9555239a23bc /intern/guardedalloc/tests | |
parent | 1f8cb908285b18817cb09fd32e7473cca0a22d08 (diff) |
Cleanup: compiler warnings
Diffstat (limited to 'intern/guardedalloc/tests')
-rw-r--r-- | intern/guardedalloc/tests/guardedalloc_overflow_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/guardedalloc/tests/guardedalloc_overflow_test.cc b/intern/guardedalloc/tests/guardedalloc_overflow_test.cc index eb9a2a68cb0..e5754bc95ea 100644 --- a/intern/guardedalloc/tests/guardedalloc_overflow_test.cc +++ b/intern/guardedalloc/tests/guardedalloc_overflow_test.cc @@ -11,7 +11,7 @@ # define ABORT_PREDICATE ::testing::KilledBySignal(SIGABRT) #endif -#ifdef __GNUC__ +#if defined(__GNUC__) && !defined(__clang__) /* Disable since it's the purpose of this test. */ # pragma GCC diagnostic ignored "-Walloc-size-larger-than=" #endif |