Skip to content

Fix call to 'format_to' is ambiguous #987

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

hdnpth
Copy link
Collaborator

@hdnpth hdnpth commented Jan 13, 2024

$(SOURCE_ROOT)/ydb/library/yql/udfs/common/clickhouse/client/src/Common/formatReadable.h:54:16: error: call to 'format_to' is ambiguous
        return format_to(ctx.out(), "{}", NDB::formatReadableSizeWithBinarySuffix(size.value));
               ^~~~~~~~~
$(SOURCE_ROOT)/contrib/libs/fmt/include/fmt/core.h:729:64: note: in instantiation of function template specialization 'fmt::formatter<ReadableSize>::format<fmt::basic_format_context<fmt::appender, char>>' requested here
    -> decltype(typename Context::template formatter_type<T>().format(
                                                               ^
$(SOURCE_ROOT)/contrib/libs/fmt/include/fmt/core.h:740:10: note: while substituting deduced template arguments into function template 'has_const_formatter_impl' [with Context = fmt::basic_format_context<fmt::appender, char>, T = ReadableSize]
  return has_const_formatter_impl<Context>(static_cast<T*>(nullptr));

Copy link

github-actions bot commented Jan 13, 2024

Note

This is an automated comment that will be appended during run.

🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit 555a5d1.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
59878 50656 0 4 9209 9

🔴 linux-x86_64-release-asan: some tests FAILED for commit 555a5d1.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
15859 15711 0 27 100 21

@alexv-smirnov alexv-smirnov merged commit 62a171c into ydb-platform:main Jan 18, 2024
@niksaveliev niksaveliev mentioned this pull request Jan 29, 2024
@vitstn vitstn mentioned this pull request Jan 29, 2024
@starlinskiy starlinskiy mentioned this pull request Feb 12, 2024
@vitstn vitstn mentioned this pull request Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants