From 12b8c58e975ee9912709c7a55e39bb8b2d325de3 Mon Sep 17 00:00:00 2001 From: Thomas Khyn Date: Tue, 18 Feb 2025 21:37:40 +1300 Subject: [PATCH] Fix TU-local entity exposition error in GCC 15 --- include/fmt/format-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/format-inl.h b/include/fmt/format-inl.h index a5b79dbe49b5..66ee747abf5a 100644 --- a/include/fmt/format-inl.h +++ b/include/fmt/format-inl.h @@ -212,7 +212,7 @@ inline auto floor_log10_pow2_minus_log10_4_over_3(int e) noexcept -> int { return (e * 631305 - 261663) >> 21; } -FMT_INLINE_VARIABLE constexpr struct { +FMT_INLINE_VARIABLE constexpr struct div_small_pow10_infos_struct { uint32_t divisor; int shift_amount; } div_small_pow10_infos[] = {{10, 16}, {100, 16}};