From ae221a13f75032fcf14729cf097c91e874dbff24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Mon, 23 Dec 2024 21:10:52 +0100 Subject: [PATCH] Fix GCC compiler versions --- src/dlmalloc_ext_2_8_6.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dlmalloc_ext_2_8_6.c b/src/dlmalloc_ext_2_8_6.c index ea4b994..8eb53a9 100644 --- a/src/dlmalloc_ext_2_8_6.c +++ b/src/dlmalloc_ext_2_8_6.c @@ -51,12 +51,12 @@ #pragma warning (disable : 4127) /*conditional expression is constant*/ #elif defined(__GNUC__) -# if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 48000) +# if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40800) //Disable false positives triggered by -Waggressive-loop-optimizations # pragma GCC diagnostic ignored "-Waggressive-loop-optimizations" # endif -# if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 46000) +# if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40600) //Disable false positives triggered by -Warray-bounds # pragma GCC diagnostic ignored "-Warray-bounds" # endif