|
|
|
|||||
|
More solaris template problems
Another problem with Forte 6.2 building Ice on Solaris. Ice has a template class called Lock but several classes define a typedef called Lock which uses the template Lock, e.g we have typedef Lock<RecMutex> Lock. Forte does not like this. I must admit, I'm not keen either. I had to change the name of the template lock class. Once it was called Lock_tmpl it compiled ok. The affected header files are:
include/IceUtil/Lock.h include/IceUtil/Mutex.h include/IceUtil/RecMutex.h include/IceUtil/RWRecMutex.h I am not sure if this is a compiler bug; I have posted a query to comp.std.c++. Regards, Andrew M.
__________________
You are in a maze of twisty little passages, all different. |
|
|||||
|
comp.std.c++ is the wrong place to post for this kind of thing,
since Lock is not Standard C++. You are better off posting to some place like comp.lang.c++.moderated or a forum that is specific to Sun Forte C++. If I recall, Sun Forte comes with libraries from RogueWave including Tools.h++ and RogueWave's implementation of STL. Does it look the the problems you are encountering are due to any of the classes mentioned in RogueWave's synchronization library? http://www.roguewave.com/support/doc...dsref/2-7.html I'm not sure if RogueWave's STL implementation uses Tools.h++ for thread synchronization. If you look around the header files that come with your compiler, that might yield some clues.
__________________
-- Craig Rodrigues |
|
|||||
|
Quote:
-apm
__________________
You are in a maze of twisty little passages, all different. |
|
|||||
|
Quote:
typedef RLock<RWRecMutex> RLock; typedef TryRLock<RWRecMutex> TryRLock; typedef WLock<RWRecMutex> WLock; typedef TryWLock<RWRecMutex> TryWLock; The other changes were made ok. The fixed file is attached. Regards, Andrew
__________________
You are in a maze of twisty little passages, all different. |
|
|||||
|
Quote:
Regards, Andrew M.
__________________
You are in a maze of twisty little passages, all different. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| object id with category can't be a template parameter? | Yunqiao Yin | Bug Reports | 1 | 06-09-2006 08:27 AM |
| a problem about the default template | rwxybh | Help Center | 2 | 12-28-2005 03:33 AM |
| Where is IcePath2 template? | kovacm | Help Center | 1 | 11-26-2005 06:45 PM |
| ICE Client DLL Template | amrufon | Help Center | 5 | 07-28-2003 07:45 AM |
| weird template compilation error on solaris | marlowa | Bug Reports | 5 | 02-25-2003 07:18 AM |