[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: W32 Warning disabled, and updated vcproj file
From: |
J. Grant |
Subject: |
Re: W32 Warning disabled, and updated vcproj file |
Date: |
Sun, 15 Jan 2006 11:40:17 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; GNU/Linux i686; en; rv:1.7.12) Gecko/20051013 Debian/1.7.12-1ubuntu1 |
[...]
Could you please send those as simple inline text, not a binary zip
attachment? It's much easier to review inline text.
Hiya,
I normally prefer attachments myself.. the binary zip contained
make_msvc_net2003.vcproj. I attached as a zip because I wanted to be
sure that the CRLF line endings were not changed when going through the
mailing list, and that it would be applied to CVS in CRLF format. I'll
attach a make_msvc_net2003.vcproj diff below.
Kind regards
JG
This is the other file, disable_mscv_w32_config.h_warnings.patch:
--- config.h.W32 2005-12-13 14:47:25.000000000 +0000
+++ config.h.W32.new 2006-01-14 23:33:50.000000000 +0000
@@ -427,6 +427,14 @@
/* Define to the installation directory for locales. */
#define LOCALEDIR ""
+#ifdef _MSC_VER
+#if _MSC_VER > 1000
+#pragma warning (disable : 4127) /* conditional expression is constant */
+#pragma warning (disable : 4702) /* unreachable code */
+#pragma warning (disable : 4100) /* unreferenced formal parameter */
+#endif
+#endif
+
/*
* Refer to README.W32 for info on the following settings
*/
=============================================================================
$ diff -u make_msvc_net2003.vcproj make_msvc_net2003.vcproj.new
--- make_msvc_net2003.vcproj 2005-08-08 06:08:00.000000000 +0100
+++ make_msvc_net2003.vcproj.new 2006-01-15 11:35:29.000000000 +0000
@@ -27,7 +27,8 @@
ForceConformanceInForLoopScope="TRUE"
UsePrecompiledHeader="0"
WarningLevel="4"
- Detect64BitPortabilityProblems="TRUE"
+ SuppressStartupBanner="TRUE"
+ Detect64BitPortabilityProblems="FALSE"
DebugInformationFormat="4"/>
<Tool
Name="VCCustomBuildTool"/>
@@ -44,7 +45,9 @@
<Tool
Name="VCPostBuildEventTool"/>
<Tool
- Name="VCPreBuildEventTool"/>
+ Name="VCPreBuildEventTool"
+ Description="Copying config.h.W32 to
config.h"
+ CommandLine="if not exist config.h copy
config.h.W32 config.h"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
@@ -74,7 +77,7 @@
ForceConformanceInForLoopScope="TRUE"
UsePrecompiledHeader="0"
WarningLevel="4"
- Detect64BitPortabilityProblems="TRUE"
+ Detect64BitPortabilityProblems="FALSE"
DebugInformationFormat="3"/>
<Tool
Name="VCCustomBuildTool"/>
@@ -92,7 +95,9 @@
<Tool
Name="VCPostBuildEventTool"/>
<Tool
- Name="VCPreBuildEventTool"/>
+ Name="VCPreBuildEventTool"
+ Description="Copying config.h.W32 to
config.h"
+ CommandLine="if not exist config.h copy
config.h.W32 config.h"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
- W32 Warning disabled, and updated vcproj file, J. Grant, 2006/01/14
- Re: W32 Warning disabled, and updated vcproj file, Eli Zaretskii, 2006/01/14
- Re: W32 Warning disabled, and updated vcproj file,
J. Grant <=
- Re: W32 Warning disabled, and updated vcproj file, Paul D. Smith, 2006/01/17
- Re: W32 Warning disabled, and updated vcproj file, J. Grant, 2006/01/18
- Re: W32 Warning disabled, and updated vcproj file, Paul D. Smith, 2006/01/18
Re: W32 Warning disabled, and updated vcproj file, Eli Zaretskii, 2006/01/15