aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-09 10:32:50 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-09 10:32:50 +0200
commita6c13fe0113c6db80c60ffd667702e86ecb73be1 (patch)
treec7bd2611f41c7d507f573d77527b7ebf19ccc010
parentf019ffacf693506325cfcaccaaa9f4e7bc11d812 (diff)
Disable C4267 possible loss of data
-rw-r--r--odb/mysql/libodb-mysql-vc10.vcxproj8
-rw-r--r--odb/mysql/libodb-mysql-vc9.vcproj8
2 files changed, 8 insertions, 8 deletions
diff --git a/odb/mysql/libodb-mysql-vc10.vcxproj b/odb/mysql/libodb-mysql-vc10.vcxproj
index bd7eb88..8f58d9a 100644
--- a/odb/mysql/libodb-mysql-vc10.vcxproj
+++ b/odb/mysql/libodb-mysql-vc10.vcxproj
@@ -90,7 +90,7 @@
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBODB_MYSQL_DYNAMIC_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\..</AdditionalIncludeDirectories>
- <DisableSpecificWarnings>4355;4800;4290;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
+ <DisableSpecificWarnings>4355;4800;4290;4251;4267;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<Link>
<AdditionalDependencies>odb-d.lib;libmysql.lib;%(AdditionalDependencies)</AdditionalDependencies>
@@ -108,7 +108,7 @@
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBODB_MYSQL_DYNAMIC_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\..</AdditionalIncludeDirectories>
- <DisableSpecificWarnings>4355;4800;4290;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
+ <DisableSpecificWarnings>4355;4800;4290;4251;4267;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<Link>
<AdditionalDependencies>odb-d.lib;libmysql.lib;%(AdditionalDependencies)</AdditionalDependencies>
@@ -128,7 +128,7 @@
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBODB_MYSQL_DYNAMIC_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\..</AdditionalIncludeDirectories>
- <DisableSpecificWarnings>4355;4800;4290;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
+ <DisableSpecificWarnings>4355;4800;4290;4251;4267;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<Link>
<AdditionalDependencies>odb.lib;libmysql.lib;%(AdditionalDependencies)</AdditionalDependencies>
@@ -150,7 +150,7 @@
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBODB_MYSQL_DYNAMIC_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\..</AdditionalIncludeDirectories>
- <DisableSpecificWarnings>4355;4800;4290;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
+ <DisableSpecificWarnings>4355;4800;4290;4251;4267;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<Link>
<AdditionalDependencies>odb.lib;libmysql.lib;%(AdditionalDependencies)</AdditionalDependencies>
diff --git a/odb/mysql/libodb-mysql-vc9.vcproj b/odb/mysql/libodb-mysql-vc9.vcproj
index 3d578fc..12298c4 100644
--- a/odb/mysql/libodb-mysql-vc9.vcproj
+++ b/odb/mysql/libodb-mysql-vc9.vcproj
@@ -43,7 +43,7 @@
/>
<Tool
Name="VCCLCompilerTool"
- AdditionalOptions="/wd4355 /wd4800 /wd4290"
+ AdditionalOptions="/wd4355 /wd4800 /wd4290 /wd4267"
Optimization="0"
AdditionalIncludeDirectories="..\.."
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBODB_MYSQL_DYNAMIC_LIB"
@@ -121,7 +121,7 @@
/>
<Tool
Name="VCCLCompilerTool"
- AdditionalOptions="/wd4355 /wd4800 /wd4290"
+ AdditionalOptions="/wd4355 /wd4800 /wd4290 /wd4267"
Optimization="0"
AdditionalIncludeDirectories="..\.."
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBODB_MYSQL_DYNAMIC_LIB"
@@ -199,7 +199,7 @@
/>
<Tool
Name="VCCLCompilerTool"
- AdditionalOptions="/wd4355 /wd4800 /wd4290"
+ AdditionalOptions="/wd4355 /wd4800 /wd4290 /wd4267"
Optimization="2"
EnableIntrinsicFunctions="true"
AdditionalIncludeDirectories="..\.."
@@ -280,7 +280,7 @@
/>
<Tool
Name="VCCLCompilerTool"
- AdditionalOptions="/wd4355 /wd4800 /wd4290"
+ AdditionalOptions="/wd4355 /wd4800 /wd4290 /wd4267"
Optimization="2"
EnableIntrinsicFunctions="true"
AdditionalIncludeDirectories="..\.."