Skip to content

fix: Update header imports for fmtv12.2.0#33

Open
TomJohnZ wants to merge 1 commit into
complexlogic:masterfrom
TomJohnZ:master
Open

fix: Update header imports for fmtv12.2.0#33
TomJohnZ wants to merge 1 commit into
complexlogic:masterfrom
TomJohnZ:master

Conversation

@TomJohnZ

Copy link
Copy Markdown

In fmt version 12.2.0, <fmt/core.h> was made equivalent to <fmt/base.h>, so code relying on <fmt/format.h>
needs to direct import it now. See the fmt changelog

@complexlogic

Copy link
Copy Markdown
Owner

Please use a preprocessor directive to only make this change for recent fmt versions. I don't want to drop support for older versions.

In fmt version 12.2.0, <fmt/core.h> was made equivalent to
<fmt/base.h>, so code relying on <fmt/format.h>
needs to direct import it now.
@TomJohnZ

Copy link
Copy Markdown
Author

That makes sense; I think the preprocessor directives I added work (at least, it compiles correctly with the newest version of fmt), but I'm not a C++ expert, so you might want to double-check.

Thanks!

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