Rationalize warning suppression. First, 64-bit portability warnings are disabled...
authorJeff Cohen <jeffc@jolt-lang.org>
Sat, 18 Dec 2004 06:55:41 +0000 (06:55 +0000)
committerJeff Cohen <jeffc@jolt-lang.org>
Sat, 18 Dec 2004 06:55:41 +0000 (06:55 +0000)
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

win32/Analysis/Analysis.vcproj
win32/CodeGen/CodeGen.vcproj
win32/ExecutionEngine/ExecutionEngine.vcproj
win32/Fibonacci/Fibonacci.vcproj
win32/Support/Support.vcproj
win32/System/System.vcproj
win32/TableGen/TableGen.vcproj
win32/Target/Target.vcproj
win32/Transforms/Transforms.vcproj
win32/VMCore/VMCore.vcproj
win32/x86/x86.vcproj

index 3f93272847c5bb4145ead325a9daa54cf389e20e..4eb0bf3eb995bff90b323cd10c4643c3802df7e1 100644 (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
index ef0c62a36f5b3b9833f9fdeb261affd67b2dc6cb..738a2318e9e832713ff8b987eb6a73833d1cec57 100644 (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
index 95a71df554e12ace2d49358f67022df8fda1db3e..b5e959bb4276b43715d0f6641e39a294e4fdc214 100644 (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
index 175641bb4bd56701d536fe4444f3f11185b48aac..2db0f237ce9f68ec7ee53f31f69c995ac89706f8 100644 (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
index 825804ae213cf32bc36ec76f4cbb7cff182ce5a9..1071aa0d0d22de4e19eb776dd9a8dd93483a4f48 100644 (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
index 749785661284668f5ae30abdf67c8e800d4caf4e..c63f020cd446a85276cdcf6ff866df92fd80f7ee 100644 (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
index de800362f7484790ade1d7cae838600d62b4c241..ad872d192ffab726d12bc36a0e76424a3201f7d2 100644 (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
index bc1249d7c1ed55cd88ae94312032d83493c5d428..42c1309ebd247099d30b72bf15acba87474e9911 100644 (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
index d9685f2b1de0c2eb9e87f4d0b716bec93f0525d7..c4897d9e0b8c37002f823fb8649422e998585cf0 100644 (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
index dd703945d3ee3e342874e267f6c20eb2ad626f58..5f404465505e9c4dc4ba0b7afe5c69fbdfe7f370 100644 (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
index 4e0fad0999bc6809af154b61f1c5ff2d2c0ddd3a..ea979be094c07865a0f816c141747aa098422cc6 100644 (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