mtk-sup.lnt 1.2 KB

123456789101112131415161718192021222324252627
  1. // Please note -- this is a representative set of error suppression
  2. // options. Please adjust to suit your own policies
  3. // See manual (chapter LIVING WITH LINT)
  4. // for further details.
  5. // MISRA Required Rules
  6. //
  7. -e46 // Bit field type should be 'int'
  8. -e801 // Use of goto is deprecated
  9. -e912 // Implicit binary conversion from 'type' to 'type'
  10. -e917 // Prototype coercion 'type' to 'type'
  11. -e920 // Cast from 'type' to void
  12. -e923 // Cast from a non-pointer to a pointer or vice versa
  13. -e971 // Use of 'char' without 'signed' or 'unsigned'
  14. -esym(960,54) // Null statement not in line by itself
  15. -esym(960,57) // 'continue' statement detected
  16. -esym(960,58) // 'break' used outside of a 'switch'
  17. -esym(960,69) // Function has variable number of arguments
  18. -esym(960,110) // Bitfields inside union
  19. -esym(961,44) // Redundant explicit casting
  20. -esym(961,60) // No 'else' at end of 'if ... else if' chain
  21. -"esym(793,identifiers in one block)"
  22. // ANSI limit of 511 'identifiers in one block'
  23. // exceeded