-
Notifications
You must be signed in to change notification settings - Fork 1.2k
fix: gcc8 compatibility changes for guix #5468
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
Conversation
kwvg
left a comment
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.
PastaPastaPasta
left a comment
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.
utACK for squash merge
|
How can this be possible though? We use gcc-8 in gitian https://github.com/dashpay/dash/blob/master/contrib/gitian-descriptors/gitian-linux.yml#L20 and it doesn't complain |
Maybe a slightly different gcc version @kittywhiskers ? |
|
Debian 10 ( There seemed to be bug reports of a reported regression in 8.x series, here and here. This regression matters due to the need to downgrade This requires us to use |
|
@kittywhiskers Thanks! 👍 Would be nice to have the need for |
UdjinM6
left a comment
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.
utACK
Issue being fixed or feature implemented
As reported by @kittywhiskers, GCC version 8 complains with
error: 'this' was not captured for this lambda functionIn order to support old GCC compilers,
thisshould be captured explicitly.What was done?
Captured
thisexplicitly in affected functions:GetValidMNsCount,GetAllHPMNsCount,GetValidHPMNsCountandGetValidWeightedMNsCount.How Has This Been Tested?
feature_llmq_hpmn.pychecks MNs countBreaking Changes
Checklist: