Conversation
|
This looks wrong. The patch only modifies docs ( |
|
Waiting for user verification. |
This change comes from upstream, |
|
I think you have the wrong patch. vcpkg shouldn't install docs so there is no reason to patch docs.
I know about that and encountered that in HPX. vcpkg/ports/fmt/portfile.cmake Line 18 in be9fb7d which thus deactivates the subfolder doc/ completelyhttps://github.com/fmtlib/fmt/blob/b135f1c01449f6f41be3933437797e768b54295a/CMakeLists.txt#L353-L355 So your change here doesn't do anything to the output of vcpkg. |
|
You want to patch |
Thanks for your comment, I will update this PR. |
|
@frits-greuter, Could you try if this PR solves your problem? |
| - format_to(it, FMT_STRING("{}{}"), ERROR_STR, error_code); | ||
| + fmt::format_to(it, FMT_STRING("{}{}"), message, SEP); | ||
| + fmt::format_to(it, FMT_STRING("{}{}"), ERROR_STR, error_code); | ||
| FMT_ASSERT(out.size() <= inline_buffer_size, ""); |
There was a problem hiding this comment.
Can you link to the upstream fix?
| FMT_ASSERT(out.size() <= inline_buffer_size, ""); | ||
| } | ||
|
|
||
| diff --git a/src/os.cc b/src/os.cc |
Fix #25109
Added patch
fix-format-conflict.patch(fmtlib/fmt#2896), use qualified format_to call to avoid ADL conflict withstd::format_to.No feature needs to test.