-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
"call to non-‘constexpr’ function" in bundled fmt #2142
Comments
Related this issue: fmtlib/fmt#2455 |
fixed in fmt |
Thank you! Which version of spdlog should contain this fix (so that the example above works)? |
In the next release of spdlog version (no date yet) Edit: probably after next fmt release with this fix. |
Is this fix out yet? I am seeing this in the compiled library in spdlog code I got today. |
I have the same issue, cloned spdlog today |
I have the same issue on 1.12.0, but it works fine on 1.11.0. |
In our downstream project, we have two dependencies: solidity and spdlog. Both of them depend on fmtlib. Unfortunately, the versions of fmtlib they use do not match, which leads to compilation failure. The issue arises because spdlog attempts to use solidity's fmtlib, but the specific version (v8.0.1) has a bug. Ref: gabime/spdlog#2142 While we could keep this change in our own fork, we believe it would be worthwhile to contribute it back to the upstream since spdlog is a very popular logging library. Signed-off-by: Jun Zhang <[email protected]>
In our downstream project, we have two dependencies: solidity and spdlog. Both of them depend on fmtlib. Unfortunately, the versions of fmtlib they use do not match, which leads to compilation failure. The issue arises because spdlog attempts to use solidity's fmtlib, but the specific version (v8.0.1) has a bug. Ref: gabime/spdlog#2142 While we could keep this change in our own fork, we believe it would be worthwhile to contribute it back to the upstream since spdlog is a very popular logging library. Signed-off-by: Jun Zhang <[email protected]>
In our downstream project, we have two dependencies: solidity and spdlog. Both of them depend on fmtlib. Unfortunately, the versions of fmtlib they use do not match, which leads to compilation failure. The issue arises because spdlog attempts to use solidity's fmtlib, but the specific version (v8.0.1) has a bug. Ref: gabime/spdlog#2142 While we could keep this change in our own fork, we believe it would be worthwhile to contribute it back to the upstream since spdlog is a very popular logging library. Signed-off-by: Jun Zhang <[email protected]>
It would seem this bug issue should be reopened. I also echo "I have the same issue on 1.12.0, but it works fine on 1.11.0." Somewhere between Nov 2 2022 (1.11.0) and Feb 9 2023 it broke again. |
@sammyj85 Can you try the v2.x branch? I hope it solves this. |
In our downstream project, we have two dependencies: solidity and spdlog. Both of them depend on fmtlib. Unfortunately, the versions of fmtlib they use do not match, which leads to compilation failure. The issue arises because spdlog attempts to use solidity's fmtlib, but the specific version (v8.0.1) has a bug. Ref: gabime/spdlog#2142 While we could keep this change in our own fork, we believe it would be worthwhile to contribute it back to the upstream since spdlog is a very popular logging library. Signed-off-by: Jun Zhang <[email protected]>
Here is an incomplete example that reproduces the problem:
I'm working against
eb322062 (tag: v1.9.2) Bump version to 1.9.2
(and I was able to reproduce on8826011c (origin/v1.x, v1.x) Merge pull request #2102 from yzz-ihep/v1.x
). Invocation:The full output:
(which shows that the gcc version is 11.1.0 and compile flags include
-Wall -Wextra -pedantic -std=c++20 -O3 -DNDEBUG -MMD
).This seems related maybe to #2023 except I'm not mixing format expression types? Maybe a relative of #1811?
The text was updated successfully, but these errors were encountered: