Skip to content

Fix compatibility with fmt 12.2.0#17

Merged
BlackMark29A merged 1 commit into
ph3at:mainfrom
xiaozhuai:main
Jun 16, 2026
Merged

Fix compatibility with fmt 12.2.0#17
BlackMark29A merged 1 commit into
ph3at:mainfrom
xiaozhuai:main

Conversation

@xiaozhuai

Copy link
Copy Markdown
Contributor

Problem

fmtlib/fmt deprecated <fmt/core.h> in commit 0007426. Starting from fmt 12.2.0, using <fmt/core.h> causes compilation errors because the deprecated include is now opt-in only.

Fix

Replace all #include <fmt/core.h> with #include <fmt/format.h>, which is the standard header in fmt 12.2.0+.

@BlackMark29A
BlackMark29A merged commit 2826c69 into ph3at:main Jun 16, 2026
15 checks passed
@xiaozhuai

Copy link
Copy Markdown
Contributor Author

Hello @BlackMark29A , would you please release a new version, so we can omit the patch file in vcpkg and just update the port version. Thank you!

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