I haven’t looked into a fix for this, but it should be easy to implement and hopefully uncontroversial.
Relavant bug: #8102 (comment)
TODO:
-
univalueshadowing fix (merged, synced to our tree ) -
serialize.handnVersion,nTypecollisions (#8468#9039 ) -
LOCKinsideLOCKshadowing (using__COUNTER__forLOCKmacro) (#8472) - other misc source fixes
- enabling
-Wshadow(#8794) - document
-Wshadowand add developer notes about it (#8794) -
leveldbshadowing fix ? (https://github.com/google/leveldb/pull/378, but fixed by other changes there.) - GCC Set #8808