A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/fmtlib/fmt/issues/4109 below:

ambiguous overload of `count_digits()` on xtensa esp32s3 gcc 12.2.0 (20230208) · Issue #4109 · fmtlib/fmt · GitHub

Skip to content Navigation Menu

Saved searches Use saved searches to filter your results more quickly

Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert Additional navigation options

ambiguous overload of count_digits() on xtensa esp32s3 gcc 12.2.0 (20230208) #4109

Description

godbolt repro

In file included from /opt/compiler-explorer/libs/fmt/trunk/include/fmt/core.h:5,
                 from <source>:1:
/opt/compiler-explorer/libs/fmt/trunk/include/fmt/format.h: In function 'constexpr OutputIt fmt::v11::detail::write_exponent(int, OutputIt)':
/opt/compiler-explorer/libs/fmt/trunk/include/fmt/format.h:1608:56: error: call of overloaded 'count_digits(unsigned int&)' is ambiguous
 1608 |     return format_decimal<Char>(out, uexp, count_digits(uexp));
      |                                            ~~~~~~~~~~~~^~~~~~
/opt/compiler-explorer/libs/fmt/trunk/include/fmt/format.h:1183:29: note: candidate: 'int fmt::v11::detail::count_digits(uint64_t)'
 1183 | FMT_CONSTEXPR20 inline auto count_digits(uint64_t n) -> int {
      |                             ^~~~~~~~~~~~
/opt/compiler-explorer/libs/fmt/trunk/include/fmt/format.h:1233:29: note: candidate: 'int fmt::v11::detail::count_digits(uint32_t)'
 1233 | FMT_CONSTEXPR20 inline auto count_digits(uint32_t n) -> int {
      |                             ^~~~~~~~~~~~
Compiler returned: 1

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4