diff --git a/parallel_hashmap/phmap_bits.h b/parallel_hashmap/phmap_bits.h index 122459c..288844c 100644 --- a/parallel_hashmap/phmap_bits.h +++ b/parallel_hashmap/phmap_bits.h @@ -337,16 +337,13 @@ PHMAP_BASE_INTERNAL_FORCEINLINE int CountTrailingZerosNonZero32(uint32_t n) { #endif #ifdef PHMAP_HAVE_INTRINSIC_INT128 - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wpedantic" + __extension__ typedef unsigned __int128 phmap_uint128; inline uint64_t umul128(uint64_t a, uint64_t b, uint64_t* high) { - auto result = static_cast(a) * - static_cast(b); + auto result = static_cast(a) * static_cast(b); *high = static_cast(result >> 64); return static_cast(result); } - #pragma GCC diagnostic pop #define PHMAP_HAS_UMUL128 1 #elif (defined(_MSC_VER)) #if defined(_M_X64)