Search code examples
embeddedmisraqa-c

Is it possible to suppress MISRA warning in QA-C


I used:

#pragma QAC MESSAGE OFF. RULE NUMBER

It works for many of the messages to suppress the QAC warnings but this technique is not working for Message No 434. Do we have any other methods to suppress these QAC warnings.


Solution

  • You can add a comment above the line where there is a warning e.g.

    /* PRQA S 0434*/