diff options
author | Bernard Normier <bernard@zeroc.com> | 2008-04-02 16:21:29 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2008-04-02 16:21:29 -0400 |
commit | 4f9d0237e81ee7a4e375afcac74d324a584d6e72 (patch) | |
tree | 8d3c907f9c56a2d15b6d6ed225c517817d38d227 /cpp/src | |
parent | bug 2944 - VC9 build failure in VB project helloIceBoxS (diff) | |
download | ice-4f9d0237e81ee7a4e375afcac74d324a584d6e72.tar.bz2 ice-4f9d0237e81ee7a4e375afcac74d324a584d6e72.tar.xz ice-4f9d0237e81ee7a4e375afcac74d324a584d6e72.zip |
Fixed bug #2934
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Ice/EndpointI.h | 4 | ||||
-rw-r--r-- | cpp/src/Ice/UnknownEndpointI.h | 3 | ||||
-rw-r--r-- | cpp/src/IceGrid/Database.h | 6 | ||||
-rw-r--r-- | cpp/src/IceGrid/DescriptorHelper.h | 6 | ||||
-rw-r--r-- | cpp/src/IceGrid/ReplicaCache.h | 4 | ||||
-rw-r--r-- | cpp/src/IceGrid/ServerCache.h | 4 | ||||
-rw-r--r-- | cpp/src/slice2html/Gen.h | 1 |
7 files changed, 27 insertions, 1 deletions
diff --git a/cpp/src/Ice/EndpointI.h b/cpp/src/Ice/EndpointI.h index b9ae321550c..b3a1e603394 100644 --- a/cpp/src/Ice/EndpointI.h +++ b/cpp/src/Ice/EndpointI.h @@ -148,11 +148,13 @@ public: virtual bool operator!=(const EndpointI&) const = 0; virtual bool operator<(const EndpointI&) const = 0; -private: +protected: virtual std::vector<ConnectorPtr> connectors(const std::vector<struct sockaddr_storage>&) const; friend class EndpointHostResolver; +private: + #if defined(__SUNPRO_CC) || defined(__HP_aCC) // // COMPILERFIX: prevent the compiler from emitting a warning about diff --git a/cpp/src/Ice/UnknownEndpointI.h b/cpp/src/Ice/UnknownEndpointI.h index 8010cc54d67..4c383ebdedf 100644 --- a/cpp/src/Ice/UnknownEndpointI.h +++ b/cpp/src/Ice/UnknownEndpointI.h @@ -45,6 +45,9 @@ public: virtual bool operator!=(const EndpointI&) const; virtual bool operator<(const EndpointI&) const; +protected: + using EndpointI::connectors; + private: #if defined(__SUNPRO_CC) diff --git a/cpp/src/IceGrid/Database.h b/cpp/src/IceGrid/Database.h index dd49f5c4431..e9f1f962a4f 100644 --- a/cpp/src/IceGrid/Database.h +++ b/cpp/src/IceGrid/Database.h @@ -50,6 +50,12 @@ class Database : public IceUtil::Shared, public IceUtil::Monitor<IceUtil::Mutex> { public: +#ifdef __SUNPRO_CC + using IceUtil::Monitor<IceUtil::Mutex>::lock; + using IceUtil::Monitor<IceUtil::Mutex>::unlock; +#endif + + Database(const Ice::ObjectAdapterPtr&, const IceStorm::TopicManagerPrx&, const std::string&, const TraceLevelsPtr&, const RegistryInfo&, bool); virtual ~Database(); diff --git a/cpp/src/IceGrid/DescriptorHelper.h b/cpp/src/IceGrid/DescriptorHelper.h index fc019bbca57..4f69318239f 100644 --- a/cpp/src/IceGrid/DescriptorHelper.h +++ b/cpp/src/IceGrid/DescriptorHelper.h @@ -130,6 +130,8 @@ public: protected: + using CommunicatorHelper::instantiateImpl; + void instantiateImpl(const ServiceDescriptorPtr&, const Resolver&, const PropertyDescriptorSeq&, const PropertySetDescriptorDict&) const; @@ -157,6 +159,8 @@ public: protected: + using CommunicatorHelper::instantiateImpl; + void printImpl(const Ice::CommunicatorPtr&, IceUtilInternal::Output&, const ServerInfo&) const; void instantiateImpl(const ServerDescriptorPtr&, const Resolver&, const PropertyDescriptorSeq&) const; @@ -221,6 +225,8 @@ public: protected: + using ServerHelper::instantiateImpl; + void instantiateImpl(const IceBoxDescriptorPtr&, const Resolver&, const PropertyDescriptorSeq&, const PropertySetDescriptorDict&) const; diff --git a/cpp/src/IceGrid/ReplicaCache.h b/cpp/src/IceGrid/ReplicaCache.h index da84f6738d0..6f2ca39dd83 100644 --- a/cpp/src/IceGrid/ReplicaCache.h +++ b/cpp/src/IceGrid/ReplicaCache.h @@ -47,6 +47,10 @@ class ReplicaCache : public CacheByString<ReplicaEntry> { public: +#ifdef __SUNPRO_CC + using CacheByString<ReplicaEntry>::remove; +#endif + ReplicaCache(const Ice::CommunicatorPtr&, const IceStorm::TopicManagerPrx&); ReplicaEntryPtr add(const std::string&, const ReplicaSessionIPtr&); diff --git a/cpp/src/IceGrid/ServerCache.h b/cpp/src/IceGrid/ServerCache.h index 2a4b5359414..5e70790592c 100644 --- a/cpp/src/IceGrid/ServerCache.h +++ b/cpp/src/IceGrid/ServerCache.h @@ -96,6 +96,10 @@ class ServerCache : public CacheByString<ServerEntry> { public: +#ifdef __SUNPRO_CC + using CacheByString<ServerEntry>::remove; +#endif + ServerCache(const Ice::CommunicatorPtr&, const std::string&, NodeCache&, AdapterCache&, ObjectCache&, AllocatableObjectCache&); ServerEntryPtr add(const ServerInfo&); diff --git a/cpp/src/slice2html/Gen.h b/cpp/src/slice2html/Gen.h index 362c612d335..3709c515495 100644 --- a/cpp/src/slice2html/Gen.h +++ b/cpp/src/slice2html/Gen.h @@ -114,6 +114,7 @@ public: private: + using GeneratorBase::printHeaderFooter; void printHeaderFooter(); typedef ::std::pair< ::std::string, ::std::string> StringPair; |