cppcheck: add rationale to suppressed warnings
All suppressions for warnings/errors in cppcheck should be annotated with a rationale why the warning/error is suppressed instead of being fixed.
Also it would make sense to add a statement about this to the coding conventions in the wiki, if there is consent about this.
:+1:
I've added a section about Travis (that surely can be fleshed out more) with info on cppcheck suppression to https://github.com/RIOT-OS/RIOT/wiki/Coding-conventions
Great!
What @OlegHahm said!
@N8Fear can we close this issue?
git grep ccpcheck-suppress still gives a big number of unexplained suppressions.
Sure? Some of them are rationalized in the next line. Better check with git grep -A 1 ccpcheck-suppress
Actually I checked with -C 1. Same result.
Still a lot unexplained.
Quick
git grep -C 1 cppcheck-suppress
revealed some of these still to be uncommented (and not in line with #6024)
Also a checker script that checks the format introduced in #6024 in the static tests would also be great.
How are we doing here?