Skip to content

Add fmt::runtime calls to all runtime format strings#232

Merged
gophergogo merged 1 commit into
GopherSecurity:mainfrom
Mick235711:add-fmt-runtime
May 17, 2026
Merged

Add fmt::runtime calls to all runtime format strings#232
gophergogo merged 1 commit into
GopherSecurity:mainfrom
Mick235711:add-fmt-runtime

Conversation

@Mick235711
Copy link
Copy Markdown
Contributor

When building in C++20 or later mode, {fmt} requires wrapping format strings in fmt::runtime if the format string is not a string literal or constexpr string. This PR tries to fix that omission to make the project buildable under C++20 mode.

@gophergogo gophergogo merged commit 2181caa into GopherSecurity:main May 17, 2026
1 check failed
@gophergogo
Copy link
Copy Markdown
Collaborator

@Mick235711 thank you for this caught, cross-compile and multi-platform portability are much needed. Please feel free to push more PRs if any issues. Appreciate!

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