iASL: change warning level for intermediate files

Change from warn 4 to warn 3 for files generated by bison
(.y.c) to eliminate some warnings about dead code.
This commit is contained in:
Robert Moore 2019-08-02 10:09:35 -07:00
parent a9ac22905b
commit 182910f78a
1 changed files with 14 additions and 4 deletions

View File

@ -389,22 +389,32 @@
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<ClCompile Include="aslcompiler.y.c">
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Level4</WarningLevel>
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Level3</WarningLevel>
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Level3</WarningLevel>
</ClCompile>
<ClCompile Include="dtcompilerparser.l.c" />
<ClCompile Include="dtcompilerparser.y.c" />
<ClCompile Include="dtcompilerparser.y.c">
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Level3</WarningLevel>
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Level3</WarningLevel>
</ClCompile>
<ClCompile Include="dtparser.l.c">
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Level4</WarningLevel>
<ConformanceMode Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ConformanceMode>
</ClCompile>
<ClCompile Include="dtparser.y.c" />
<ClCompile Include="dtparser.y.c">
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Level3</WarningLevel>
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Level3</WarningLevel>
</ClCompile>
<ClCompile Include="prparser.l.c">
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Level4</WarningLevel>
<ConformanceMode Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ConformanceMode>
</ClCompile>
<ClCompile Include="prparser.y.c" />
<ClCompile Include="prparser.y.c">
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Level3</WarningLevel>
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Level3</WarningLevel>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\source\compiler\aslcompiler.h" />