[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. |
lalitb
left a comment
There was a problem hiding this comment.
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.mdupdated for non-trivial changes