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
20 -dACPI_ENABLE_OBJECT_CACHE
21 -dACPI_DBG_TRACK_ALLOCATIONS
24 -printf(4, AcpiUtDebugPrint, AcpiUtDebugPrintRaw)
25 -printf(1, AcpiOsPrintf, AcpiOsVprintf)
27 /* Macro exceptions */
29 -emacro( (413), ACPI_OFFSET ) // use of NULL pointer creates a stir
30 -emacro( (413), ACPI_TO_INTEGER ) // use of NULL pointer creates a stir
31 -emacro( (413), ACPI_TO_POINTER ) // use of NULL pointer creates a stir
32 -emacro( (413), ACPI_ADD_PTR ) // use of NULL pointer creates a stir
33 -emacro( (413), ACPI_PTR_DIFF ) // use of NULL pointer creates a stir
34 -emacro( (413), ACPI_FADT_OFFSET ) // use of NULL pointer creates a stir
35 -emacro( (413), ASL_RESDESC_OFFSET ) // use of NULL pointer creates a stir
38 -emacro( 826, ACPI_NEXT_RESOURCE) // Pointer cast
39 -emacro( 826, ACPI_MOVE_UNALIGNED16_TO_16) // Pointer cast
40 -emacro( 826, ACPI_MOVE_UNALIGNED16_TO_32) // Pointer cast
41 -emacro( 826, ACPI_MOVE_UNALIGNED32_TO_32) // Pointer cast
42 -emacro( 950, ACPI_INTERNAL_VAR_XFACE) // Uses non-ANSI
43 -emacro( 950, ACPI_SYSTEM_XFACE) // Uses non-ANSI
44 -emacro( 826, ACPI_CAST_PTR) // Pointer cast
45 -emacro( 826, ACPI_ADD_PTR) // Pointer cast
46 -emacro( 826, ACPI_LODWORD) // Pointer cast
47 -emacro( 826, ACPI_HIDWORD) // Pointer cast
49 /* Symbol exceptions */
51 -esym( 528, _AcpiModuleName) // Symbol not always used, but always present
52 -esym( 550, CurrentSp) // Used to track stack use
53 -esym( 534, AcpiDmDumpName) // Return value not always used
54 -esym( 534, AcpiDmCommaIfListMember) // Return value not always used
56 /* Symbol exceptions for generation of iASL compiler */
58 -esym( 534, TrWalkParseTree) // Return value not always used
59 -esym( 534, AslCompilerparse) // Return value not always used
60 -esym( 534, OpcSetOptimalIntegerSize) // Return value not always used
61 -esym( 534, AslCompilererror) // Return value not always used
63 /* Global exceptions */
65 -e716 // Allow while(1)
66 -e717 // Allow do..while(0)
67 -e801 // Allow judicious use of goto without incurring complaint
68 -e818 // Don't make suggestions about const to avoid "const" pollution
69 -e715 // Ignore non-referenced formal parameters
70 -e750 // Ignore non-referenced local macros (_MODULE_NAME, _COMPONENT, etc.)
71 -e834 // - followed by + is "confusing" NOT.
72 -e820 // Allow Boolean test of a parenthesized assignment
73 -e778 // Allow constant expressions to evaluate to zero