Hello, I'm using the cppcheck GUI and I don't see a way to suppress MISRA inline violations. I've enabled inline suppression in the GUI and will add something like:
// cppcheck-suppress misra-c2012-10.4
And I will get an UnmatchedSuppression error in the GUI. The MISRA violation still appears also. I read through this thread: https://sourceforge.net/p/cppcheck/discussion/general/thread/d37e5d8f2c/
And it looks like it may have worked at some point, but others are still reporting this as an issue.
Is there a way to expedite this to get resolved? I'm open to working with the developers as this is important for my organization.
Thank you, Amir
Just tested the command line, and inline suppression seems to work there, but not in the GUI.
I just posted in the older thread you linked with an example - I'm experiencing the same issue with v1.90.
thanks, I've ended up using the command line as it integrates very nicely in eclipse.
Thanks! I created this trac ticket: https://trac.cppcheck.net/ticket/9723
Log in to post a comment.
Hello,
I'm using the cppcheck GUI and I don't see a way to suppress MISRA inline violations. I've enabled inline suppression in the GUI and will add something like:
And I will get an UnmatchedSuppression error in the GUI. The MISRA violation still appears also. I read through this thread:
https://sourceforge.net/p/cppcheck/discussion/general/thread/d37e5d8f2c/
And it looks like it may have worked at some point, but others are still reporting this as an issue.
Is there a way to expedite this to get resolved? I'm open to working with the developers as this is important for my organization.
Thank you,
Amir
Just tested the command line, and inline suppression seems to work there, but not in the GUI.
I just posted in the older thread you linked with an example - I'm experiencing the same issue with v1.90.
thanks, I've ended up using the command line as it integrates very nicely in eclipse.
Thanks! I created this trac ticket: https://trac.cppcheck.net/ticket/9723