From 5834751ca6184e0cdebc5477ddaf98e290962318 Mon Sep 17 00:00:00 2001 From: David CARLIER Date: Wed, 20 Oct 2021 16:17:13 +0100 Subject: [PATCH] api test conceal gcc pragma --- test/test-api.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test-api.c b/test/test-api.c index f72cfaf5..8ddbf7cf 100644 --- a/test/test-api.c +++ b/test/test-api.c @@ -4,7 +4,9 @@ This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distribution. -----------------------------------------------------------------------------*/ +#if defined(__GNUC__) && !defined(__clang__) #pragma GCC diagnostic ignored "-Walloc-size-larger-than=" +#endif /* Testing allocators is difficult as bugs may only surface after particular