Skip to content

Conversation

@sergio-nsk
Copy link
Contributor

For some reasons, std::string StrFormat(const char* format, ...) was declared with castom format attributes in conditions. The project wide macro PRINTF_FORMAT_STRING_FUNC must be used.

For some reasons, `std::string StrFormat(const char* format, ...)` was declared
with castom format attributes in conditions. The project wide macro
`PRINTF_FORMAT_STRING_FUNC` must be used.
@sergio-nsk sergio-nsk changed the title Fix error: format string is not a string literal (#2126) #2125: Fix error: format string is not a string literal (#2126) Feb 13, 2026
@dmah42
Copy link
Member

dmah42 commented Feb 13, 2026

test failure is unrelated.

i'm a little concerned that this approach won't work on all platforms, but it's passing CI/CD so LGTM

@dmah42 dmah42 merged commit 559b7cc into google:main Feb 13, 2026
83 of 84 checks passed
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