Skip to content

cripts: build against fmt 11+ (incl. 12.x)#13375

Open
zwoop wants to merge 1 commit into
apache:masterfrom
zwoop:FixForFmt12
Open

cripts: build against fmt 11+ (incl. 12.x)#13375
zwoop wants to merge 1 commit into
apache:masterfrom
zwoop:FixForFmt12

Conversation

@zwoop

@zwoop zwoop commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

fmt 11 dropped fmt::format/vformat from fmt/core.h; include fmt/format.h instead, and use fmt::format directly to avoid a deprecated format_string conversion. Still builds on fmt 8.1+.

@zwoop zwoop added this to the 11.0.0 milestone Jul 11, 2026
@zwoop zwoop requested a review from Copilot July 11, 2026 04:11
@zwoop zwoop self-assigned this Jul 11, 2026
@zwoop zwoop added the Cripts label Jul 11, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Cripts’ fmt usage to remain compatible with fmt 11+ header layout changes by switching to fmt/format.h and simplifying formatting calls in the Instance debug helper.

Changes:

  • Replace #include <fmt/core.h> with #include <fmt/format.h> in Cripts public headers.
  • Switch Instance::debug() from fmt::vformat(fmt::make_format_args(...)) to fmt::format(...).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
include/cripts/Preamble.hpp Switch fmt include to fmt/format.h for fmt 11+ compatibility.
include/cripts/Lulu.hpp Switch fmt include to fmt/format.h for fmt 11+ compatibility.
include/cripts/Instance.hpp Use fmt::format in Instance::debug() to avoid deprecated/removed vformat usage.

Comment thread include/cripts/Instance.hpp
fmt 11 dropped fmt::format/vformat from fmt/core.h; include fmt/format.h
instead, and use fmt::format directly to avoid a deprecated format_string
conversion. Still builds on fmt 8.1+.
Copilot AI review requested due to automatic review settings July 11, 2026 17:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants