summaryrefslogtreecommitdiffstats
path: root/windows/test/linksdll/linksdll.vcproj
diff options
context:
space:
mode:
authorScott Wegner <swegner@hdfgroup.org>2008-04-21 14:03:59 (GMT)
committerScott Wegner <swegner@hdfgroup.org>2008-04-21 14:03:59 (GMT)
commit775bbddc289df5eb6c84ef3d0808aadb51ce71d4 (patch)
treead976f9e7a4221aff1b2d8367f01dd3242b0341a /windows/test/linksdll/linksdll.vcproj
parentaa53664128ae2c024e0361cec9d2d5d67e410b2a (diff)
downloadhdf5-775bbddc289df5eb6c84ef3d0808aadb51ce71d4.zip
hdf5-775bbddc289df5eb6c84ef3d0808aadb51ce71d4.tar.gz
hdf5-775bbddc289df5eb6c84ef3d0808aadb51ce71d4.tar.bz2
[svn-r14854] Purpose: Remove many spurious compiler warnings in Visual Studio
Description: On Windows, many POSIX functions have been replaced by a similarly-named function with some additional security-checking. Visual Studio issues a warning each time the POSIX version is used, recommending that we replace it with the new version. This results in thousands of errors when building the HDF5 library. This checkin adds a Visual Studio "Property Sheet", which has been applied to all library projects, and defines a number of preprocessors to suppress these warnings. The warnings have been disabled only in Visual Studio 2005 project files, as VS.NET doesn't support property sheets. Tested: VS2005 on WinXP
Diffstat (limited to 'windows/test/linksdll/linksdll.vcproj')
-rw-r--r--windows/test/linksdll/linksdll.vcproj17
1 files changed, 9 insertions, 8 deletions
diff --git a/windows/test/linksdll/linksdll.vcproj b/windows/test/linksdll/linksdll.vcproj
index 7375b30..557cccc 100644
--- a/windows/test/linksdll/linksdll.vcproj
+++ b/windows/test/linksdll/linksdll.vcproj
@@ -4,6 +4,7 @@
Version="8.00"
Name="linksdll"
ProjectGUID="{27CCFE35-61A5-434F-8B83-9A40AE2AE8C5}"
+ RootNamespace="linksdll"
>
<Platforms>
<Platform
@@ -21,7 +22,7 @@
OutputDirectory="..\..\..\test\$(ProjectName)\$(ConfigurationName)"
IntermediateDirectory="$(OutDir)"
ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops;..\..\proj\property_sheets\remove-posix-warnings.vsprops"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
@@ -74,7 +75,7 @@
Name="VCLinkerTool"
AdditionalDependencies="odbc32.lib odbccp32.lib WS2_32.lib"
OutputFile="$(OutDir)\$(ProjectName).exe"
- LinkIncremental="1"
+ LinkIncremental="0"
SuppressStartupBanner="true"
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../test/linksdll/Debug/linksdll.pdb"
@@ -111,7 +112,7 @@
OutputDirectory="..\..\..\test\$(ProjectName)\$(ConfigurationName)"
IntermediateDirectory="$(OutDir)"
ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops;..\..\proj\property_sheets\remove-posix-warnings.vsprops"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
@@ -165,7 +166,7 @@
Name="VCLinkerTool"
AdditionalDependencies="odbc32.lib odbccp32.lib WS2_32.lib"
OutputFile="$(OutDir)\$(ProjectName).exe"
- LinkIncremental="1"
+ LinkIncremental="0"
SuppressStartupBanner="true"
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../test/linksdll/Debug/linksdll.pdb"
@@ -202,7 +203,7 @@
OutputDirectory="..\..\..\test\$(ProjectName)\$(ConfigurationName)"
IntermediateDirectory="$(OutDir)"
ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops;..\..\proj\property_sheets\remove-posix-warnings.vsprops"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
@@ -257,7 +258,7 @@
Name="VCLinkerTool"
AdditionalDependencies="odbc32.lib odbccp32.lib WS2_32.lib"
OutputFile="$(OutDir)\$(ProjectName).exe"
- LinkIncremental="1"
+ LinkIncremental="0"
SuppressStartupBanner="true"
ProgramDatabaseFile=".\../../../test/linksdll/Release/linksdll.pdb"
SubSystem="1"
@@ -293,7 +294,7 @@
OutputDirectory="..\..\..\test\$(ProjectName)\$(ConfigurationName)"
IntermediateDirectory="$(OutDir)"
ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops;..\..\proj\property_sheets\remove-posix-warnings.vsprops"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
@@ -349,7 +350,7 @@
Name="VCLinkerTool"
AdditionalDependencies="odbc32.lib odbccp32.lib WS2_32.lib"
OutputFile="$(OutDir)\$(ProjectName).exe"
- LinkIncremental="1"
+ LinkIncremental="0"
SuppressStartupBanner="true"
ProgramDatabaseFile=".\../../../test/linksdll/Release/linksdll.pdb"
SubSystem="1"