Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing xchar.h header for fmt > 11.0.2 (v2) #3277

Open
wants to merge 1 commit into
base: v1.x
Choose a base branch
from

Conversation

ahoarau
Copy link

@ahoarau ahoarau commented Nov 30, 2024

Better version than #3274
Fixes #3202

NOTE: I cannot conditionally add the header based on the FMT version, as it's stuck to #define FMT_VERSION 110002, even though we're passed that version.

Tested fine on Ubuntu + clang & gcc, on both release and debug.

In fmt > 11.0.2, basic_format_string has moved from base.h to xchar.h
@gabime
Copy link
Owner

gabime commented Nov 30, 2024

fmt/xchar.h is expensive to include if wchar is not required. Why can't you include it in your code?

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.

In fmt master, basic_format_string has moved from base.h to xchar.h
2 participants