-
Notifications
You must be signed in to change notification settings - Fork 440
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
[BUILD] error: read-only reference ‘value’ used as ‘asm’ output #2354
[BUILD] error: read-only reference ‘value’ used as ‘asm’ output #2354
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2354 +/- ##
=======================================
Coverage 87.41% 87.41%
=======================================
Files 199 199
Lines 6018 6018
=======================================
Hits 5260 5260
Misses 758 758 |
I thought commenting out the failing test for time being was the better approach :) Not super sure if we should ditch the const on those member variables because of a bug somewhere else This would in general prevent any optimizations from compiler, and also type safety. |
The Members like:
make sense, but I have never seen a member using:
If the member is really I think there is confusion in this code, if an object is |
Taking this for example:
The method GetDescription() is const, so it does not change the object, this part is expected. Making the member const is rather strange. |
Reverted to first solution, comment out code that fails to build. |
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.
Thanks for troubleshooting, and fixing it.
Fixes #2343
Changes
The benchmark code fails to build with GCC, due to an upstream bug.
As a work around, comment the two failing benchmarks.
CHANGELOG.md
updated for non-trivial changes