diff options
author | Jeff Cohen <jeffc@jolt-lang.org> | 2004-12-18 06:55:41 +0000 |
---|---|---|
committer | Jeff Cohen <jeffc@jolt-lang.org> | 2004-12-18 06:55:41 +0000 |
commit | 530f887ff2549d58020310ff53003bcd9ba76c4a (patch) | |
tree | 8996a4c4486c6f5db51438c555e41dd21de2bf97 | |
parent | 06c06dbaafbc30e7926b3bcbbe6f8a0887cbfc62 (diff) |
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
-rw-r--r-- | win32/Analysis/Analysis.vcproj | 6 | ||||
-rw-r--r-- | win32/CodeGen/CodeGen.vcproj | 6 | ||||
-rw-r--r-- | win32/ExecutionEngine/ExecutionEngine.vcproj | 6 | ||||
-rw-r--r-- | win32/Fibonacci/Fibonacci.vcproj | 6 | ||||
-rw-r--r-- | win32/Support/Support.vcproj | 6 | ||||
-rw-r--r-- | win32/System/System.vcproj | 6 | ||||
-rw-r--r-- | win32/TableGen/TableGen.vcproj | 6 | ||||
-rw-r--r-- | win32/Target/Target.vcproj | 6 | ||||
-rw-r--r-- | win32/Transforms/Transforms.vcproj | 6 | ||||
-rw-r--r-- | win32/VMCore/VMCore.vcproj | 6 | ||||
-rw-r--r-- | win32/x86/x86.vcproj | 6 |
11 files changed, 33 insertions, 33 deletions
diff --git a/win32/Analysis/Analysis.vcproj b/win32/Analysis/Analysis.vcproj index 3f93272847..4eb0bf3eb9 100644 --- a/win32/Analysis/Analysis.vcproj +++ b/win32/Analysis/Analysis.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 diff --git a/win32/CodeGen/CodeGen.vcproj b/win32/CodeGen/CodeGen.vcproj index ef0c62a36f..738a2318e9 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 diff --git a/win32/ExecutionEngine/ExecutionEngine.vcproj b/win32/ExecutionEngine/ExecutionEngine.vcproj index 95a71df554..b5e959bb42 100644 --- a/win32/ExecutionEngine/ExecutionEngine.vcproj +++ b/win32/ExecutionEngine/ExecutionEngine.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 diff --git a/win32/Fibonacci/Fibonacci.vcproj b/win32/Fibonacci/Fibonacci.vcproj index 175641bb4b..2db0f237ce 100644 --- a/win32/Fibonacci/Fibonacci.vcproj +++ b/win32/Fibonacci/Fibonacci.vcproj @@ -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 diff --git a/win32/Support/Support.vcproj b/win32/Support/Support.vcproj index 825804ae21..1071aa0d0d 100644 --- a/win32/Support/Support.vcproj +++ b/win32/Support/Support.vcproj @@ -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 diff --git a/win32/System/System.vcproj b/win32/System/System.vcproj index 7497856612..c63f020cd4 100644 --- a/win32/System/System.vcproj +++ b/win32/System/System.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 @@ -73,7 +73,7 @@ WarningLevel="3" Detect64BitPortabilityProblems="TRUE" DebugInformationFormat="3" - DisableSpecificWarnings="4099;4800;4244;4267"/> + DisableSpecificWarnings="4146,4800"/> <Tool Name="VCCustomBuildTool"/> <Tool diff --git a/win32/TableGen/TableGen.vcproj b/win32/TableGen/TableGen.vcproj index de800362f7..ad872d192f 100644 --- a/win32/TableGen/TableGen.vcproj +++ b/win32/TableGen/TableGen.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 @@ -81,7 +81,7 @@ WarningLevel="3" Detect64BitPortabilityProblems="TRUE" DebugInformationFormat="3" - DisableSpecificWarnings="4099;4800;4244;4267"/> + DisableSpecificWarnings="4146,4800"/> <Tool Name="VCCustomBuildTool"/> <Tool diff --git a/win32/Target/Target.vcproj b/win32/Target/Target.vcproj index bc1249d7c1..42c1309ebd 100644 --- a/win32/Target/Target.vcproj +++ b/win32/Target/Target.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 diff --git a/win32/Transforms/Transforms.vcproj b/win32/Transforms/Transforms.vcproj index d9685f2b1d..c4897d9e0b 100644 --- a/win32/Transforms/Transforms.vcproj +++ b/win32/Transforms/Transforms.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 diff --git a/win32/VMCore/VMCore.vcproj b/win32/VMCore/VMCore.vcproj index dd703945d3..5f40446550 100644 --- a/win32/VMCore/VMCore.vcproj +++ b/win32/VMCore/VMCore.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 diff --git a/win32/x86/x86.vcproj b/win32/x86/x86.vcproj index 4e0fad0999..ea979be094 100644 --- a/win32/x86/x86.vcproj +++ b/win32/x86/x86.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 @@ -81,7 +81,7 @@ WarningLevel="3" Detect64BitPortabilityProblems="TRUE" DebugInformationFormat="3" - DisableSpecificWarnings="4099;4800;4244;4267"/> + DisableSpecificWarnings="4146,4800"/> <Tool Name="VCCustomBuildTool"/> <Tool |