Skip to content

Commit ae221a1

Browse files
committed
Fix GCC compiler versions
1 parent fad402d commit ae221a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dlmalloc_ext_2_8_6.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@
5151
#pragma warning (disable : 4127) /*conditional expression is constant*/
5252
#elif defined(__GNUC__)
5353

54-
# if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 48000)
54+
# if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40800)
5555
//Disable false positives triggered by -Waggressive-loop-optimizations
5656
# pragma GCC diagnostic ignored "-Waggressive-loop-optimizations"
5757
# endif
5858

59-
# if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 46000)
59+
# if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40600)
6060
//Disable false positives triggered by -Warray-bounds
6161
# pragma GCC diagnostic ignored "-Warray-bounds"
6262
# endif

0 commit comments

Comments
 (0)