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.
6 -ic:\acpi\source\include
7 -ic:\acpi\source\include\platform
8 -ic:\acpi\generate\msvc\aslcompiler
9 -ic:\progra~1\"Microsoft Visual Studio"\VC98\include
14 +fie // Enum is integer
22 -printf(4, AcpiUtDebugPrint, AcpiUtDebugPrintRaw)
23 -printf(1, AcpiOsPrintf, AcpiOsVprintf)
25 /* Macro exceptions */
27 -emacro( (413), ACPI_OFFSET ) // use of NULL pointer creates a stir
28 -emacro( (413), ACPI_TO_INTEGER ) // use of NULL pointer creates a stir
29 -emacro( (413), ACPI_TO_POINTER ) // use of NULL pointer creates a stir
30 -emacro( (413), ACPI_PTR_ADD ) // use of NULL pointer creates a stir
31 -emacro( (413), ACPI_PTR_DIFF ) // use of NULL pointer creates a stir
32 -emacro( (413), ACPI_FADT_OFFSET ) // use of NULL pointer creates a stir
33 -emacro( (413), ASL_RESDESC_OFFSET ) // use of NULL pointer creates a stir
36 -emacro( 826, ACPI_NEXT_RESOURCE) // Pointer cast
37 -emacro( 826, ACPI_MOVE_UNALIGNED16_TO_16) // Pointer cast
38 -emacro( 826, ACPI_MOVE_UNALIGNED16_TO_32) // Pointer cast
39 -emacro( 826, ACPI_MOVE_UNALIGNED32_TO_32) // Pointer cast
40 -emacro( 950, ACPI_INTERNAL_VAR_XFACE) // Uses non-ANSI
41 -emacro( 950, ACPI_SYSTEM_XFACE) // Uses non-ANSI
42 -emacro( 826, ACPI_CAST_PTR) // Pointer cast
43 -emacro( 826, ACPI_PTR_ADD) // Pointer cast
44 -emacro( 826, ACPI_LODWORD) // Pointer cast
45 -emacro( 826, ACPI_HIDWORD) // Pointer cast
47 /* Symbol exceptions */
49 -esym( 528, _THIS_MODULE) // Symbol not always used, but always present
50 -esym( 550, CurrentSp) // Used to track stack use
51 -esym( 534, AcpiDmDumpName) // Return value not always used
52 -esym( 534, AcpiDmCommaIfListMember) // Return value not always used
54 /* Symbol exceptions for iASL compiler */
56 -esym( 534, TrWalkParseTree) // Return value not always used
57 -esym( 534, AslCompilerparse) // Return value not always used
58 -esym( 534, OpcSetOptimalIntegerSize) // Return value not always used
59 -esym( 534, AslCompilererror) // Return value not always used
61 /* Global exceptions */
63 -e717 // Allow do..while(0)
64 -e801 // Allow judicious use of goto without incurring complaint
65 -e818 // Don't make suggestions about const to avoid "const" pollution
66 -e715 // Ignore non-referenced formal parameters
67 -e750 // Ignore non-referenced local macros (_MODULE_NAME, _COMPONENT, etc.)
68 -e834 // - followed by + is "confusing" NOT.
69 -e820 // Allow Boolean test of a parenthesized assignment