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
path: root/intern
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-08-11 06:22:59 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-08-11 06:22:59 +0300
commit7f15120e9c30fd934dfff2a6771996e0724f988d (patch)
tree006945df74bdb08b74ca279e140d54e6e5d25254 /intern
parent0c0f972e86a2e38912114c5333f23f9effd37a3b (diff)
Cleanup: GCC warning in guardedalloc_overflow_test
Diffstat (limited to 'intern')
-rw-r--r--intern/guardedalloc/tests/guardedalloc_overflow_test.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/intern/guardedalloc/tests/guardedalloc_overflow_test.cc b/intern/guardedalloc/tests/guardedalloc_overflow_test.cc
index bd47482d033..eb9a2a68cb0 100644
--- a/intern/guardedalloc/tests/guardedalloc_overflow_test.cc
+++ b/intern/guardedalloc/tests/guardedalloc_overflow_test.cc
@@ -11,6 +11,11 @@
# define ABORT_PREDICATE ::testing::KilledBySignal(SIGABRT)
#endif
+#ifdef __GNUC__
+/* Disable since it's the purpose of this test. */
+# pragma GCC diagnostic ignored "-Walloc-size-larger-than="
+#endif
+
namespace {
void MallocArray(size_t len, size_t size)