TxHaggis - 2023-01-01

This reports zero violations:

PS C:\dev\cppcheck\addons> cppcheck --addon=misra --inline-suppr test\misra\misra-ctu-1-test.c test\misra\misra-ctu-2-test.c     
Checking test\misra\misra-ctu-1-test.c ...
1/2 files checked 47% done
Checking test\misra\misra-ctu-2-test.c ...
2/2 files checked 100% done

Adding -j 2 to the command line reports 22 violations. Should they produce the same result?

 

Last edit: TxHaggis 2023-01-01