-
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
Compiler warning with gcc-9 shipped with Fedora 30 #1077
Comments
This is part of the fmtlib code. Seems it has already been reported here. |
Ah thanks for the link. It looks like they have fixed the problem so whenever you guys update fmtlib this should be fixed.
… On May 15, 2019, at 4:37 PM, Gabi Melman ***@***.***> wrote:
This is part of the fmtlib code. Seems it has already been reported here <fmtlib/fmt#1148>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#1077?email_source=notifications&email_token=AC2O6UMLOOBPVOFKLMA52XLPVSNEZA5CNFSM4HNGGAY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVQHWYY#issuecomment-492862307>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AC2O6UN7X3FTBGBPREGZIHTPVSNEZANCNFSM4HNGGAYQ>.
|
This will have to wait for official fmt release - some time after june 17: fmtlib/fmt#1160 (comment) |
Please update when that fmt release is ready and spdlog compiles again. In the meantime, I did: diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h index 1bb24a5..a4dc1e1 100644 --- a/include/spdlog/fmt/bundled/format.h +++ b/include/spdlog/fmt/bundled/format.h @@ -126,7 +126,7 @@ FMT_END_NAMESPACE FMT_GCC_VERSION >= 407 || FMT_MSC_VER >= 1900) && \ (!(FMT_ICC_VERSION || FMT_CUDA_VERSION) || \ FMT_ICC_VERSION >= 1500 || FMT_CUDA_VERSION >= 700) -# define FMT_USE_USER_DEFINED_LITERALS 1 +# define FMT_USE_USER_DEFINED_LITERALS 0 # else # define FMT_USE_USER_DEFINED_LITERALS 0 # endifI couldn't figure out a way to do this by setting #defines. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is the error.
If someone has an idea I can help to validate the fix.
The text was updated successfully, but these errors were encountered: