Details
-
Task
-
Resolution: Unresolved
-
Major
-
7.6.0
-
0
-
KV 2023-4, March-June 24
Description
We have recently hit a nasty issue caused by variable shadowing and the consequent usage of the wrong variable reference (MB-58463).
The -Wshadow flag would give us a compilation warning and reduce the chance of making that kind of error.
Attachments
Issue Links
- is triggered by
-
MB-58463 Replication stuck caused by Checkpoint OOM
- Closed
Gerrit Reviews
For Gerrit Dashboard: MB-58833 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
197731,10 | MB-58833: Add gcc -Wshadow=compatible-local flag | master | tlm | Status: MERGED | +2 | +1 |
197732,8 | MB-58833: Fix gcc -Wshadow=compatible-local warnings | master | kv_engine | Status: MERGED | +2 | +1 |
197891,11 | MB-58833: Fix gcc -Wshadow=compatible-local warnings | master | couchstore | Status: MERGED | +2 | +1 |
197946,6 | MB-58833: Fix gcc -Wshadow=compatible-local warnings | master | magma | Status: ABANDONED | 0 | -1 |
197947,5 | MB-58833: Fix gcc -Wshadow=compatible-local warnings | master | phosphor | Status: MERGED | +2 | +1 |
198013,4 | MB-58833: Always report warnings | master | server-cv | Status: MERGED | +2 | +1 |
198085,1 | MB-58833: Fix gcc -Wshadow=compatible-local warnings | master | magma | Status: ABANDONED | 0 | 0 |
199804,4 | MB-58833: Fix gcc -Wshadow=compatible-local warnings | neo | couchstore | Status: ABANDONED | 0 | 0 |
200992,4 | MB-58833: Fix gcc -Wshadow=compatible-local warnings | master | sigar | Status: MERGED | +2 | +1 |
201240,3 | MB-58833: Fix gcc -Wshadow=compatible-local warnings | master | magma | Status: MERGED | +2 | +1 |
201410,2 | MB-58833: Add -Wno-shadow=compatible-local flag | cb-master | forestdb | Status: MERGED | +2 | +1 |