From f71b7e50e2d8c74ca8a8fd76095d42e52cef6814 Mon Sep 17 00:00:00 2001 From: tx_haggis <13982343+adbancroft@users.noreply.github.com> Date: Wed, 3 May 2023 19:14:57 -0500 Subject: [PATCH] Suppress 5.8 & 8.6 (#975) As of cppcheck 2.9, these checks produce too many false positives They do not account for class scope. E.g. class1::method1==class2::method1 --- misra/suppressions.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/misra/suppressions.txt b/misra/suppressions.txt index 80c074f5..fc8de498 100644 --- a/misra/suppressions.txt +++ b/misra/suppressions.txt @@ -29,4 +29,9 @@ misra-c2012-19.2 misra-c2012-20.1 misra-c2012-20.5 misra-c2012-20.10 -misra-c2012-21.12 \ No newline at end of file +misra-c2012-21.12 +# As of cppcheck 2.9, these checks produce too many false positives +# They do not account for class scope. +# E.g. class1::method1==class2::method1 +misra-c2012-5.8 +misra-c2012-8.6