Make FMT_STRING redundant when FMT_USE_CONSTEVAL is enabled#4612
Make FMT_STRING redundant when FMT_USE_CONSTEVAL is enabled#4612vitaut merged 2 commits intofmtlib:masterfrom
Conversation
vitaut
left a comment
There was a problem hiding this comment.
Thanks for the PR! Please move the check to FMT_STRING because FMT_STRING_IMPL is also used in format string compilation which we shouldn't change.
|
Moved the check. I'm not certain how concerned I should be about the failing tests on the previous commit. Running the tests locally succeed for me, at least |
|
I'm not really sure what to make of the failing workflows. The linting stuff really doesn't seem like my fault. The other failing ones though do seem related to |
|
Most (possibly all) of the issues should be fixed now. Could you rebase? |
b27a615 to
66d2730
Compare
|
Rebasing seems to have gone okay. I've never actually done it before since I prefer to merge, but should be done now. |
|
There is still a lint issue caused by clang-format version mismatch. You can ignore it. |
|
Everything else seems to be passing. Good to merge, then? |
|
Merged, thank you! |
Closes #4611.
As discussed in that issue,
FMT_STRING(s)has been made to simply expand toswhenFMT_USE_CONSTEVALis enabled.This fixes the issue with formatting chrono durations.