Hi all, In the last MISRA meeting Stefano told me about the Rule 10.3 and that we have a lot of violations, but GCC has a way to list them as written in rules.rst.
So the issue was just that we have a lot of violations, most of them coming from headers and the Developer might feel a bit lost since the number is very high, so I’ve developed this script to take the GCC build log and create a list of unique occurrences of the violations sorted in descending order, so that who has a bit of time can try to fix some of those and maybe can start from the top of the list to fix as many as possible occurrences. I attach the script as patch file. Cheers, Luca
0001-Script-to-analyse-the-rule-10.3-GCC-output.patch
Description: 0001-Script-to-analyse-the-rule-10.3-GCC-output.patch