Repository navigation
Fix compilation error in clang 13 in C++20 mode - ambiguous call to log function - #2011
Merged
Merged
Conversation
sjanel
force-pushed
the
bugfix/fixclangcompilation
branch
from
July 23, 2021 14:45
a1f8f12 to
e5f8235
Compare
Owner
|
Thanks. seems to fail some of the windows tests . Please fix it. |
Contributor
Author
Yeah, I saw that. I will try to reproduce the build failed in my Windows machine this week-end and fix them. |
sjanel
marked this pull request as draft
July 26, 2021 09:22
Contributor
Author
|
Build error occurs with |
sjanel
force-pushed
the
bugfix/fixclangcompilation
branch
2 times, most recently
from
July 26, 2021 10:32
1564b02 to
5a8540a
Compare
Owner
|
@sjanel I tried to fix the warning in this branch: https://github.com/gabime/spdlog/tree/pr-2011 Could you please check if it solves it (i dont have clang 13 installed) ? |
Contributor
Author
That fixes, thanks! |
sjanel
force-pushed
the
bugfix/fixclangcompilation
branch
from
July 27, 2021 07:19
5a8540a to
aecdfc6
Compare
sjanel
marked this pull request as ready for review
July 27, 2021 08:07
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
To reproduce, you will need to install clang 13 development branch:
Not sure if this is an issue coming from clang 13 in C++20 mode - but the 2 enable_if in logger.h are anyway not complement to each other.
Issue appeared recently (in 1.9 version), it is compiling fine with v1.8.5