OPTIONS.LNT 1.4 KB

1234567891011121314151617181920212223242526
  1. // Please note -- this is a representative set of error suppression
  2. // options. Please adjust to suit your own policies
  3. // See PC-lint for C/C++ manual (chapter LIVING WITH LINT)
  4. // for further details.
  5. -e502 -e713 -e737 -eau // don't report on signed/unsigned mismatches
  6. -e734 // allow sub-integer loss of information
  7. -e701 -e703 // shifting int left is OK
  8. -e537 // don't care about repeated include file
  9. -e641 // converting enum to int is ok
  10. -e1042 // operator ++/-- don't need class parameters
  11. -e963 -e763 // redundant declarations are ok
  12. -e1712 // no default constructor defined is ok
  13. -e1704 // private constructors are ok
  14. -e534 // ignoring return value is ok
  15. -e732 // going from signed to unsigned parameter is ok
  16. -e1411 // functions hiding base functions is ok
  17. -e788 // switch with default doesn't need all values specified
  18. -e655 -e656 // compatable enum bit and arithmetic operations are ok
  19. -e1542 // members possibly not initialized isn't a valid warning
  20. -e522 // calling 'new' without assignment isn't always an error
  21. -e1401 // uninitialized by constructor warning disabled.