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.
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
coin-lemon: fixed C++17 and C++20 compilation warnings. #15516
coin-lemon: fixed C++17 and C++20 compilation warnings. #15516
Changes from 4 commits
22fc695
6e1cafe
73c9294
788b028
05fbdb8
a94d7b1
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/conan-io/conan-center-index/blob/master/docs/adding_packages/sources_and_patches.md#rules
I am not sure the warnings deserve a patch. These are costly to maintain and we really want ones to make "working software"
Does this fail to build with later cppstd? I would prefer less patches otherwise
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @prince-chrismc ,
I'm more in favour of a 'treatiing warnings as errors' policy. Anyway, yes, some of these warnings cause failures when compiling with C++17 or newer (see #15515 ).
Best regards,
Roberto.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add the
patch_source
too with the PR to upstream were you submitted this 🙏 so others can benefit from it tooThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @prince-chrismc ,
I tried to get in touch with the maintainers of the Lemon Graph library via their website and their user mailing list, without luck. The last version of the library is from 2014.
I've issued a new ticket, and attached the first of the patches (C++17), to: https://lemon.cs.elte.hu/trac/lemon/attachment/ticket/680/fix_cpp_17_compilation_warnings.patch
The second patch (C++20) is actually part of this other attachment to a previous ticket (I only took the patch section for
array_map.h
because the patch section forpath.h
wasn't patching correctly): http://lemon.cs.elte.hu/trac/lemon/attachment/ticket/631/93c983122692.patchI think I should update this second patch with the fixes for
path.h
as well.If you reckon, I can add those two links mentioned above as
patch_source
.Thanks,
Roberto.