Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2020-08-12 13:15:01 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-08-12 13:15:01 +0300
commitd6570fcaede9e1b33e50dfbb8c1b074bd9b660c2 (patch)
treed5aa7f5861492337fd3dbf0c166f9555239a23bc /intern/guardedalloc
parent1f8cb908285b18817cb09fd32e7473cca0a22d08 (diff)
Cleanup: compiler warnings
Diffstat (limited to 'intern/guardedalloc')
-rw-r--r--intern/guardedalloc/tests/guardedalloc_overflow_test.cc2
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