We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78a9e7d commit ee87316Copy full SHA for ee87316
include/boost/decimal/detail/power_tables.hpp
@@ -215,7 +215,7 @@ constexpr auto pow10(T n) noexcept -> T
215
return static_cast<T>(impl::powers_of_10[static_cast<std::size_t>(n)]);
216
}
217
218
-#if defined(__GNUC__) && __GNUC__ == 7
+#if defined(__GNUC__) && __GNUC__ >= 7
219
# pragma GCC diagnostic push
220
# pragma GCC diagnostic ignored "-Warray-bounds"
221
#endif
@@ -241,7 +241,7 @@ constexpr auto pow10(detail::uint128_t n) noexcept -> detail::uint128_t
241
242
243
244
245
# pragma GCC diagnostic pop
246
247
0 commit comments