Skip to content

libfmt 12.2.0 support: use fmt/format.h not fmt/core.h#2512

Closed
heitbaum wants to merge 1 commit into
MusicPlayerDaemon:masterfrom
heitbaum:libfmt
Closed

libfmt 12.2.0 support: use fmt/format.h not fmt/core.h#2512
heitbaum wants to merge 1 commit into
MusicPlayerDaemon:masterfrom
heitbaum:libfmt

Conversation

@heitbaum

Copy link
Copy Markdown
Contributor

Since libfmt 12.2.0, fmt/core.h is a shim that only includes fmt/base.h which does not provide fmt::format(). Include fmt/format.h directly in files that call fmt::format().

Fixes build with libfmt-12.2.0

https://github.com/fmtlib/fmt/releases/tag/12.2.0

Since libfmt 12.2.0, fmt/core.h is a shim that only includes
fmt/base.h which does not provide fmt::format(). Include
fmt/format.h directly in files that call fmt::format().

Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
@MaxKellermann

Copy link
Copy Markdown
Member

Backported to v0.24.x: 88d5b52

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