Rationalize warning suppression. First, 64-bit portability warnings are disabled. The

specific warnings they produced were being suppressed anyway.  The truncation warnings
that were suppressed are now enabled, and the few that still occur ought to be fixed.
The only warnings suppressed now are the "negating an unsigned is still unsigned", the
validity of which Chris does not accept, and the "implicit conversion of <type> to bool
performance warning".  Making the conversion explicit won't make it run any faster and
this is an easier way to shut the compiler up.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19031 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jeff Cohen 2004-12-18 06:55:41 +00:00
parent 06c06dbaaf
commit 530f887ff2
11 changed files with 33 additions and 33 deletions

View File

@ -28,9 +28,9 @@
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
Detect64BitPortabilityProblems="FALSE"
DebugInformationFormat="4"
DisableSpecificWarnings="4800;4244;4267"/>
DisableSpecificWarnings="4146,4800"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
@ -72,7 +72,7 @@
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
DebugInformationFormat="3"
DisableSpecificWarnings="4099;4800;4244;4267"/>
DisableSpecificWarnings="4146,4800"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool

View File

@ -28,9 +28,9 @@
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
Detect64BitPortabilityProblems="FALSE"
DebugInformationFormat="4"
DisableSpecificWarnings="4800;4244;4267"/>
DisableSpecificWarnings="4146,4800"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
@ -72,7 +72,7 @@
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
DebugInformationFormat="3"
DisableSpecificWarnings="4099;4800;4244;4267"/>
DisableSpecificWarnings="4146,4800"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool

View File

@ -28,9 +28,9 @@
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
Detect64BitPortabilityProblems="FALSE"
DebugInformationFormat="4"
DisableSpecificWarnings="4800;4244;4267"/>
DisableSpecificWarnings="4146,4800"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
@ -72,7 +72,7 @@
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
DebugInformationFormat="3"
DisableSpecificWarnings="4099;4800;4244;4267"/>
DisableSpecificWarnings="4146,4800"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool

View File

@ -28,9 +28,9 @@
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
Detect64BitPortabilityProblems="FALSE"
DebugInformationFormat="4"
DisableSpecificWarnings="4099;4800;4244;4267"/>
DisableSpecificWarnings="4146,4800"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
@ -85,7 +85,7 @@
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
DebugInformationFormat="3"
DisableSpecificWarnings="4099;4800;4244;4267"/>
DisableSpecificWarnings="4146,4800"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool

View File

@ -29,9 +29,9 @@
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
Detect64BitPortabilityProblems="FALSE"
DebugInformationFormat="4"
DisableSpecificWarnings="4800;4244;4267"/>
DisableSpecificWarnings="4146,4800"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
@ -73,7 +73,7 @@
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
DebugInformationFormat="3"
DisableSpecificWarnings="4099;4800;4244;4267"/>
DisableSpecificWarnings="4146,4800"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool

View File

@ -28,9 +28,9 @@
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
Detect64BitPortabilityProblems="FALSE"
DebugInformationFormat="4"
DisableSpecificWarnings="4800;4244;4267"/>
DisableSpecificWarnings="4146,4800"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
@ -73,7 +73,7 @@
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
DebugInformationFormat="3"
DisableSpecificWarnings="4099;4800;4244;4267"/>
DisableSpecificWarnings="4146,4800"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool

View File

@ -28,9 +28,9 @@
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
Detect64BitPortabilityProblems="FALSE"
DebugInformationFormat="4"
DisableSpecificWarnings="4800;4244;4267"/>
DisableSpecificWarnings="4146,4800"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
@ -81,7 +81,7 @@
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
DebugInformationFormat="3"
DisableSpecificWarnings="4099;4800;4244;4267"/>
DisableSpecificWarnings="4146,4800"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool

View File

@ -28,9 +28,9 @@
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
Detect64BitPortabilityProblems="FALSE"
DebugInformationFormat="4"
DisableSpecificWarnings="4800;4244;4267"/>
DisableSpecificWarnings="4146,4800"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
@ -72,7 +72,7 @@
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
DebugInformationFormat="3"
DisableSpecificWarnings="4099;4800;4244;4267"/>
DisableSpecificWarnings="4146,4800"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool

View File

@ -28,9 +28,9 @@
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
Detect64BitPortabilityProblems="FALSE"
DebugInformationFormat="4"
DisableSpecificWarnings="4800;4244;4267"/>
DisableSpecificWarnings="4146,4800"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
@ -72,7 +72,7 @@
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
DebugInformationFormat="3"
DisableSpecificWarnings="4099;4800;4244;4267"/>
DisableSpecificWarnings="4146,4800"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool

View File

@ -28,9 +28,9 @@
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
Detect64BitPortabilityProblems="FALSE"
DebugInformationFormat="4"
DisableSpecificWarnings="4800;4244;4267"/>
DisableSpecificWarnings="4146,4800"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
@ -72,7 +72,7 @@
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
DebugInformationFormat="3"
DisableSpecificWarnings="4099;4800;4244;4267"/>
DisableSpecificWarnings="4146,4800"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool

View File

@ -28,9 +28,9 @@
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
Detect64BitPortabilityProblems="FALSE"
DebugInformationFormat="4"
DisableSpecificWarnings="4800;4244;4267"/>
DisableSpecificWarnings="4146,4800"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
@ -81,7 +81,7 @@
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
DebugInformationFormat="3"
DisableSpecificWarnings="4099;4800;4244;4267"/>
DisableSpecificWarnings="4146,4800"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool