summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-07-22 22:01:27 +0200
committerJose <jose@zeroc.com>2016-07-22 22:01:27 +0200
commite0e679b4d29b23dbb081e0692113c60f567a73e8 (patch)
treea58e57370b2b647395b14b49268ce4915aec54cb /cpp
parentRemoved unused property (diff)
downloadice-e0e679b4d29b23dbb081e0692113c60f567a73e8.tar.bz2
ice-e0e679b4d29b23dbb081e0692113c60f567a73e8.tar.xz
ice-e0e679b4d29b23dbb081e0692113c60f567a73e8.zip
Disable VS 2015 update 3 optimizer
Diffstat (limited to 'cpp')
-rw-r--r--cpp/msbuild/ice.cpp.props9
1 files changed, 9 insertions, 0 deletions
diff --git a/cpp/msbuild/ice.cpp.props b/cpp/msbuild/ice.cpp.props
index bc7606f0329..07e063006fc 100644
--- a/cpp/msbuild/ice.cpp.props
+++ b/cpp/msbuild/ice.cpp.props
@@ -98,6 +98,15 @@
</ItemDefinitionGroup>
<!--
+ COMPILERFIX: Disable new C++ optimizer introduced with VS 2015 update 3.
+ -->
+ <ItemDefinitionGroup Condition="'$(DefaultPlatformToolset)|$(Ice_Configuration)'=='v140|Release'">
+ <ClCompile>
+ <AdditionalOptions>-d2SSAOptimizer- %(AdditionalOptions)</AdditionalOptions>
+ </ClCompile>
+ </ItemDefinitionGroup>
+
+ <!--
GenerateDebugInformation supported values change from v120 to v140,
we set it conditionally to the platform tool set.
-->