diff options
author | Jose <jose@zeroc.com> | 2017-04-01 15:30:57 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2017-04-01 15:30:57 +0200 |
commit | b9e6baf966fdd06bc4490eeb42ae9b2740d4107b (patch) | |
tree | 07690061cc796081ff892397baa966611983b075 /cpp/src/Ice/Proxy.cpp | |
parent | VC90 build failure SCH_USE_STRONG_CRYPTO not defined (diff) | |
download | ice-b9e6baf966fdd06bc4490eeb42ae9b2740d4107b.tar.bz2 ice-b9e6baf966fdd06bc4490eeb42ae9b2740d4107b.tar.xz ice-b9e6baf966fdd06bc4490eeb42ae9b2740d4107b.zip |
VC90 build failure IceProxy::Ice::noExplicitContext unresolved symbol
Diffstat (limited to 'cpp/src/Ice/Proxy.cpp')
-rw-r--r-- | cpp/src/Ice/Proxy.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/cpp/src/Ice/Proxy.cpp b/cpp/src/Ice/Proxy.cpp index 5c56f4d8d0d..65fc7a6dd25 100644 --- a/cpp/src/Ice/Proxy.cpp +++ b/cpp/src/Ice/Proxy.cpp @@ -36,6 +36,24 @@ const Context noExplicitContext; } +#if defined(_MSC_VER) && (_MSC_VER == 1500) +// +// COMPILERFIX VC90 get confused with namespaces and complains that +// ::Ice::noExplicitContext isn't defined in IceProxy namespace. +// +namespace IceProxy +{ + +namespace Ice +{ + +const Context noExplicitContext; + +} + +} +#endif + namespace { |