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
diff --git a/win32/CodeGen/CodeGen.vcproj b/win32/CodeGen/CodeGen.vcproj
index ef0c62a..738a231 100644
--- a/win32/CodeGen/CodeGen.vcproj
+++ b/win32/CodeGen/CodeGen.vcproj
@@ -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