diff --git a/generate/lint/options.lnt b/generate/lint/options.lnt index 7e875a44c..f29c073dc 100644 --- a/generate/lint/options.lnt +++ b/generate/lint/options.lnt @@ -52,7 +52,7 @@ -esym( 534, AcpiDmDumpName) // Return value not always used -esym( 534, AcpiDmCommaIfListMember) // Return value not always used -/* Symbol exceptions for iASL compiler */ +/* Symbol exceptions for generation of iASL compiler */ -esym( 534, TrWalkParseTree) // Return value not always used -esym( 534, AslCompilerparse) // Return value not always used @@ -61,6 +61,7 @@ /* Global exceptions */ +-e716 // Allow while(1) -e717 // Allow do..while(0) -e801 // Allow judicious use of goto without incurring complaint -e818 // Don't make suggestions about const to avoid "const" pollution @@ -68,3 +69,4 @@ -e750 // Ignore non-referenced local macros (_MODULE_NAME, _COMPONENT, etc.) -e834 // - followed by + is "confusing" NOT. -e820 // Allow Boolean test of a parenthesized assignment +-e778 // Allow constant expressions to evaluate to zero diff --git a/generate/lint/std32.lnt b/generate/lint/std32.lnt index 8c25051c7..2e84135ab 100644 --- a/generate/lint/std32.lnt +++ b/generate/lint/std32.lnt @@ -4,6 +4,7 @@ c:\acpi\generate\lint\co-msc60.lnt //c:\acpi\generate\lint\lib-w32.lnt +-dACPI_MACHINE_WIDTH=32 -dWIN32=1 -d_MSC_VER=1 +fll // enable long long diff --git a/generate/lint/std64.lnt b/generate/lint/std64.lnt index c3ffcdc0d..be7be5926 100644 --- a/generate/lint/std64.lnt +++ b/generate/lint/std64.lnt @@ -6,6 +6,8 @@ c:\acpi\generate\lint\co.lnt /* IA-64 */ +-dACPI_MACHINE_WIDTH=64 + -e747 // Compiler supports parameter conversions -e46 // Compiler supports bitfields other than int -d_IA64