Skip to content

Commit

Permalink
Fix GCC compiler versions
Browse files Browse the repository at this point in the history
  • Loading branch information
igaztanaga committed Dec 23, 2024
1 parent fad402d commit ae221a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dlmalloc_ext_2_8_6.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ae221a1

Please sign in to comment.