61 lines
3.0 KiB
Plaintext
61 lines
3.0 KiB
Plaintext
// Please note -- this is a representative set of error suppression
|
|
// options. Please adjust to suit your own policies
|
|
// See manual (chapter LIVING WITH LINT)
|
|
// for further details.
|
|
|
|
-e820 // allow test of parenthesized assignment
|
|
-e502 -e713 -e737 -eau // don't report on signed/unsigned mismatches
|
|
-e734 // allow sub-integer loss of information
|
|
-e534 // ignoring return value of function
|
|
-e1925 // Scott Myers public data member
|
|
-e1924 // C-style cast
|
|
-e766 // Header file not used in module
|
|
-e751 // local typedef not referenced
|
|
-e506 // Constant value Boolean
|
|
-e46 // field type should be int
|
|
-e92 // Negative array dimension or bit field length
|
|
-e1705 // static class members may be accessed by the scoping operator
|
|
-e537 // Repeated include file
|
|
-e641 // converting enum to int
|
|
-e613 // possible use of null pointer to operator
|
|
-e788 // enum constant note used within defaulted switch
|
|
-e777 // testing floats for equality
|
|
-e763 // redundant declaration previously declared
|
|
-e1932 // base class is not abstract
|
|
-e754 // local structure member not referenced
|
|
-e750 // local macro not referenced
|
|
-e753 // local class not referenced
|
|
-e749 // local enumeration constant not referenced
|
|
-e783 // line does not end with new-line
|
|
-e1933 // Call to unqualified virtual function 'Symbol' from
|
|
// non-static member function
|
|
-e801 // use of goto is deprecated
|
|
-e731 // boolean argument to equal/not equal
|
|
-e1923 // #define could become const variable
|
|
-e1536 // exposing low access member
|
|
-e1763 // member function marked as const indirectly modifies class
|
|
-e655 // bit-wise operation uses (compatible) enum's
|
|
-e656 // arithmetic operation uses (compatible) enum's
|
|
-e1551 // function may throw exception
|
|
-e752 // local declarator not referenced
|
|
-e528 // Symbol not referenced
|
|
-e1502 // defined object has no nonstatic members
|
|
-e1704 // constructor has private access specification
|
|
-e1725 // class member is a reference
|
|
-e762 // redundantly declared symbol
|
|
-e19 // useless declaration
|
|
-e115 // struct/union not defined
|
|
-e1735 // Virtual function 'Function' has default parameter -- Effective C++ #38
|
|
-e774 // Boolean within 'String' always evaluates to [True/False] - I found a case where this reported incorrectly
|
|
|
|
// use these later:
|
|
-e18 // symbol redeclared - for some reason I get this error when I use .dsps?
|
|
-e1927 // symbol did not appear in the constructor initializer list
|
|
-e1926 // constructor is implicitly called
|
|
-e1401 // member not initialized by constructor
|
|
-e1540 // pointer member neither freed nor zero'ed by destructor
|
|
-e1512 // destructor for base class is not virtual
|
|
-e605 // increase in pointer capability
|
|
-e1749 // base class need not be virtual
|
|
-e826 // suspicious pointer-to-pointer conversion (area too small)
|
|
-e1782 // (Info -- Assigning address of reference parameter 'variable' to a static variable) |