Skip to content

Fix compatibility with fmt 12.2.0#62

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

Fix compatibility with fmt 12.2.0#62
Cadons merged 1 commit into
Cadons: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+.

@Cadons

Cadons commented Jun 16, 2026

Copy link
Copy Markdown
Owner

Hi @xiaozhuai Thank you very much for your contribution

@Cadons Cadons merged commit 5cdeac7 into Cadons:main Jun 16, 2026
8 of 9 checks passed
@xiaozhuai

Copy link
Copy Markdown
Contributor Author

Hello @Cadons, 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