I haven’t looked into a fix for this, but it should be easy to implement and hopefully uncontroversial.
Relavant bug: #8102 (comment)
TODO:
-
univalue
shadowing fix (merged, synced to our tree ) -
serialize.h
andnVersion
,nType
collisions (#8468#9039 ) -
LOCK
insideLOCK
shadowing (using__COUNTER__
forLOCK
macro) (#8472) - other misc source fixes
- enabling
-Wshadow
(#8794) - document
-Wshadow
and add developer notes about it (#8794) -
leveldb
shadowing fix ? (https://github.com/google/leveldb/pull/378, but fixed by other changes there.) - GCC Set #8808