Closed adeebshihadeh closed 2 months ago
Panda doesn't use typical source/header pair architecture.
Because of that rule 8.7 (reducing visibility to a given "c file") makes sense if multiple translation units are used, I would suggest its suppression. Unfortunately, cppcheck cannot detect 8.9 (presumably without global scan) if 8.7 is not enforced. 8.9 is valuable and as it enforces objects scope reduction to a given code block. More details.
I believe we have three choices:
static
to all functions in the worst caseI think we will go with 3.
We've got six suppressions left, and all the remaining ones require thought on how to do cleanly and properly.
Locked to @dzid26