OSDN Git Service

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 3f93272..4eb0bf3 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 ef0c62a..738a231 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 95a71df..b5e959b 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 175641b..2db0f23 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 825804a..1071aa0 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 7497856..c63f020 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 de80036..ad872d1 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 bc1249d..42c1309 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 d9685f2..c4897d9 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 dd70394..5f40446 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 4e0fad0..ea979be 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