From 616d0dd5296541c82555f8e659b725384a6aeeb7 Mon Sep 17 00:00:00 2001 From: Solar Designer Date: Tue, 24 Sep 2024 00:50:40 +0200 Subject: [PATCH] SipHash: Avoid new compiler warnings on RHEL7 See #133 Amends c3b560260eb387fb40a0326da761e62e4884d67b --- src/modules/hashing/p_lkrg_fast_hash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/hashing/p_lkrg_fast_hash.h b/src/modules/hashing/p_lkrg_fast_hash.h index 87aded97..9bb20373 100644 --- a/src/modules/hashing/p_lkrg_fast_hash.h +++ b/src/modules/hashing/p_lkrg_fast_hash.h @@ -24,7 +24,7 @@ #if defined(fallthrough) #define P_FALL_THROUGH fallthrough -#elif defined(__GNUC__) +#elif defined(__GNUC__) && __GNUC__ > 6 #define P_FALL_THROUGH __attribute__ ((fallthrough)) #else #define P_FALL_THROUGH /* FALLTHROUGH */