Roguewave errors with rwtools7_std option
807575Apr 12 2004 — edited May 7 2004Hi
I am trying to use Roguewave tools with Sunone Studio 8 compiler and the flag rwtools7_std but I get the following errors. Any info on this will be appreciated.
Regards
Balaji
-------------------------------
Compiler: Sunone Studio 8.
Command Used to Compile: CC -library=rwtools7_std stream.cpp
OS: Solaris 8
stream.cpp
========
#include <rw/cstring.h>
#include <rw/tvhdict.h>
int main()
{
RWTValHashDictionary<RWCString, unsigned int> gdmoNameHash(RWCString::hash);
}
==========================================================
Errors
"stream.cpp", line 7: Error: Too few arguments for template RWTValHashMap.
"/opt/external/studio8/SUNWspro/prod/include/CC/rw7/rw/tvhdict.h", line 64: Error: The base "RW_VMapAssoc<rw_hashmap<RWCString, T, H, EQ, std::allocator<RWCString>>, RWTValHashMap<RWCString, T, H, EQ>, RWCString, T>" must be a previously defined class or struct.
"stream.cpp", line 7: Where: While specializing "RWTValHashMap<RWCString>".
"stream.cpp", line 7: Where: Specialized in non-template code.
"/opt/external/studio8/SUNWspro/prod/include/CC/rw7/rw/tvhdict.h", line 99: Error: RW_VMapAssoc<rw_hashmap<RWCString, T, H, EQ, std::allocator<RWCString>>, RWTValHashMap<RWCString, T, H, EQ>, RWCString, T> is not a base class of RWTValHashMap<RWCString>.
"stream.cpp", line 7: Where: While specializing "RWTValHashMap<RWCString>".
"stream.cpp", line 7: Where: Specialized in non-template code.
"/opt/external/studio8/SUNWspro/prod/include/CC/rw7/rw/tvhdict.h", line 99: Error: apply is not a member of RW_VMapAssoc<rw_hashmap<RWCString, T, H, EQ, std::allocator<RWCString>>, RWTValHashMap<RWCString, T, H, EQ>, RWCString, T>.
"stream.cpp", line 7: Where: While specializing "RWTValHashMap<RWCString>".
"stream.cpp", line 7: Where: Specialized in non-template code.
"/opt/external/studio8/SUNWspro/prod/include/CC/rw7/rw/tvhdict.h", line 100: Error: RW_VMapAssoc<rw_hashmap<RWCString, T, H, EQ, std::allocator<RWCString>>, RWTValHashMap<RWCString, T, H, EQ>, RWCString, T> is not a base class of RWTValHashMap<RWCString>.
"stream.cpp", line 7: Where: While specializing "RWTValHashMap<RWCString>".
"stream.cpp", line 7: Where: Specialized in non-template code.
"/opt/external/studio8/SUNWspro/prod/include/CC/rw7/rw/tvhdict.h", line 100: Error: applyToKeyAndValue is not a member of RW_VMapAssoc<rw_hashmap<RWCString, T, H, EQ, std::allocator<RWCString>>, RWTValHashMap<RWCString, T, H, EQ>, RWCString, T>.
"stream.cpp", line 7: Where: While specializing "RWTValHashMap<RWCString>".
"stream.cpp", line 7: Where: Specialized in non-template code.
"/opt/external/studio8/SUNWspro/prod/include/CC/rw7/rw/tvhdict.h", line 101: Error: RW_VMapAssoc<rw_hashmap<RWCString, T, H, EQ, std::allocator<RWCString>>, RWTValHashMap<RWCString, T, H, EQ>, RWCString, T> is not a base class of RWTValHashMap<RWCString>.
"stream.cpp", line 7: Where: While specializing "RWTValHashMap<RWCString>".
"stream.cpp", line 7: Where: Specialized in non-template code.
"/opt/external/studio8/SUNWspro/prod/include/CC/rw7/rw/tvhdict.h", line 101: Error: begin is not a member of RW_VMapAssoc<rw_hashmap<RWCString, T, H, EQ, std::allocator<RWCString>>, RWTValHashMap<RWCString, T, H, EQ>, RWCString, T>.
"stream.cpp", line 7: Where: While specializing "RWTValHashMap<RWCString>".
"stream.cpp", line 7: Where: Specialized in non-template code.
"/opt/external/studio8/SUNWspro/prod/include/CC/rw7/rw/tvhdict.h", line 102: Error: RW_VMapAssoc<rw_hashmap<RWCString, T, H, EQ, std::allocator<RWCString>>, RWTValHashMap<RWCString, T, H, EQ>, RWCString, T> is not a base class of RWTValHashMap<RWCString>.
"stream.cpp", line 7: Where: While specializing "RWTValHashMap<RWCString>".
"stream.cpp", line 7: Where: Specialized in non-template code.
"/opt/external/studio8/SUNWspro/prod/include/CC/rw7/rw/tvhdict.h", line 102: Error: end is not a member of RW_VMapAssoc<rw_hashmap<RWCString, T, H, EQ, std::allocator<RWCString>>, RWTValHashMap<RWCString, T, H, EQ>, RWCString, T>.
"stream.cpp", line 7: Where: While specializing "RWTValHashMap<RWCString>".
"stream.cpp", line 7: Where: Specialized in non-template code.
"/opt/external/studio8/SUNWspro/prod/include/CC/rw7/rw/tvhdict.h", line 103: Error: RW_VMapAssoc<rw_hashmap<RWCString, T, H, EQ, std::allocator<RWCString>>, RWTValHashMap<RWCString, T, H, EQ>, RWCString, T> is not a base class of RWTValHashMap<RWCString>.
"stream.cpp", line 7: Where: While specializing "RWTValHashMap<RWCString>".
"stream.cpp", line 7: Where: Specialized in non-template code.
"/opt/external/studio8/SUNWspro/prod/include/CC/rw7/rw/tvhdict.h", line 103: Error: isEmpty is not a member of RW_VMapAssoc<rw_hashmap<RWCString, T, H, EQ, std::allocator<RWCString>>, RWTValHashMap<RWCString, T, H, EQ>, RWCString, T>.
"stream.cpp", line 7: Where: While specializing "RWTValHashMap<RWCString>".
"stream.cpp", line 7: Where: Specialized in non-template code.
"/opt/external/studio8/SUNWspro/prod/include/CC/rw7/rw/tvhdict.h", line 104: Error: RW_VMapAssoc<rw_hashmap<RWCString, T, H, EQ, std::allocator<RWCString>>, RWTValHashMap<RWCString, T, H, EQ>, RWCString, T> is not a base class of RWTValHashMap<RWCString>.
"stream.cpp", line 7: Where: While specializing "RWTValHashMap<RWCString>".
"stream.cpp", line 7: Where: Specialized in non-template code.
"/opt/external/studio8/SUNWspro/prod/include/CC/rw7/rw/tvhdict.h", line 104: Error: entries is not a member of RW_VMapAssoc<rw_hashmap<RWCString, T, H, EQ, std::allocator<RWCString>>, RWTValHashMap<RWCString, T, H, EQ>, RWCString, T>.
"stream.cpp", line 7: Where: While specializing "RWTValHashMap<RWCString>".
"stream.cpp", line 7: Where: Specialized in non-template code.
"/opt/external/studio8/SUNWspro/prod/include/CC/rw7/rw/tvhdict.h", line 105: Error: RW_VMapAssoc<rw_hashmap<RWCString, T, H, EQ, std::allocator<RWCString>>, RWTValHashMap<RWCString, T, H, EQ>, RWCString, T> is not a base class of RWTValHashMap<RWCString>.
"stream.cpp", line 7: Where: While specializing "RWTValHashMap<RWCString>".
"stream.cpp", line 7: Where: Specialized in non-template code.
"/opt/external/studio8/SUNWspro/prod/include/CC/rw7/rw/tvhdict.h", line 105: Error: operator == is not a member of RW_VMapAssoc<rw_hashmap<RWCString, T, H, EQ, std::allocator<RWCString>>, RWTValHashMap<RWCString, T, H, EQ>, RWCString, T>.
"stream.cpp", line 7: Where: While specializing "RWTValHashMap<RWCString>".
"stream.cpp", line 7: Where: Specialized in non-template code.
"/opt/external/studio8/SUNWspro/prod/include/CC/rw7/rw/tvhdict.h", line 106: Error: RW_VMapAssoc<rw_hashmap<RWCString, T, H, EQ, std::allocator<RWCString>>, RWTValHashMap<RWCString, T, H, EQ>, RWCString, T> is not a base class of RWTValHashMap<RWCString>.
"stream.cpp", line 7: Where: While specializing "RWTValHashMap<RWCString>".
"stream.cpp", line 7: Where: Specialized in non-template code.
"/opt/external/studio8/SUNWspro/prod/include/CC/rw7/rw/tvhdict.h", line 106: Error: operator<is not a member of RW_VMapAssoc<rw_hashmap<RWCString, T, H, EQ, std::allocator<RWCString>>, RWTValHashMap<RWCString, T, H, EQ>, RWCString, T>.
"stream.cpp", line 7: Where: While specializing "RWTValHashMap<RWCString>".
"stream.cpp", line 7: Where: Specialized in non-template code.
"/opt/external/studio8/SUNWspro/prod/include/CC/rw7/rw/tvhdict.h", line 108: Error: RW_VMapAssoc<rw_hashmap<RWCString, T, H, EQ, std::allocator<RWCString>>, RWTValHashMap<RWCString, T, H, EQ>, RWCString, T> is not a base class of RWTValHashMap<RWCString>.
"stream.cpp", line 7: Where: While specializing "RWTValHashMap<RWCString>".
"stream.cpp", line 7: Where: Specialized in non-template code.
"/opt/external/studio8/SUNWspro/prod/include/CC/rw7/rw/tvhdict.h", line 108: Error: clear is not a member of RW_VMapAssoc<rw_hashmap<RWCString, T, H, EQ, std::allocator<RWCString>>, RWTValHashMap<RWCString, T, H, EQ>, RWCString, T>.
"stream.cpp", line 7: Where: While specializing "RWTValHashMap<RWCString>".
"stream.cpp", line 7: Where: Specialized in non-template code.
"/opt/external/studio8/SUNWspro/prod/include/CC/rw7/rw/tvhdict.h", line 109: Error: RW_VMapAssoc<rw_hashmap<RWCString, T, H, EQ, std::allocator<RWCString>>, RWTValHashMap<RWCString, T, H, EQ>, RWCString, T> is not a base class of RWTValHashMap<RWCString>.
"stream.cpp", line 7: Where: While specializing "RWTValHashMap<RWCString>".
"stream.cpp", line 7: Where: Specialized in non-template code.
"/opt/external/studio8/SUNWspro/prod/include/CC/rw7/rw/tvhdict.h", line 109: Error: contains is not a member of RW_VMapAssoc<rw_hashmap<RWCString, T, H, EQ, std::allocator<RWCString>>, RWTValHashMap<RWCString, T, H, EQ>, RWCString, T>.
"stream.cpp", line 7: Where: While specializing "RWTValHashMap<RWCString>".
"stream.cpp", line 7: Where: Specialized in non-template code.
"/opt/external/studio8/SUNWspro/prod/include/CC/rw7/rw/tvhdict.h", line 110: Error: RW_VMapAssoc<rw_hashmap<RWCString, T, H, EQ, std::allocator<RWCString>>, RWTValHashMap<RWCString, T, H, EQ>, RWCString, T> is not a base class of RWTValHashMap<RWCString>.
"stream.cpp", line 7: Where: While specializing "RWTValHashMap<RWCString>".
"stream.cpp", line 7: Where: Specialized in non-template code.
"/opt/external/studio8/SUNWspro/prod/include/CC/rw7/rw/tvhdict.h", line 110: Error: find is not a member of RW_VMapAssoc<rw_hashmap<RWCString, T, H, EQ, std::allocator<RWCString>>, RWTValHashMap<RWCString, T, H, EQ>, RWCString, T>.
"stream.cpp", line 7: Where: While specializing "RWTValHashMap<RWCString>".
"stream.cpp", line 7: Where: Specialized in non-template code.
"/opt/external/studio8/SUNWspro/prod/include/CC/rw7/rw/tvhdict.h", line 111: Error: RW_VMapAssoc<rw_hashmap<RWCString, T, H, EQ, std::allocator<RWCString>>, RWTValHashMap<RWCString, T, H, EQ>, RWCString, T> is not a base class of RWTValHashMap<RWCString>.
"stream.cpp", line 7: Where: While specializing "RWTValHashMap<RWCString>".
"stream.cpp", line 7: Where: Specialized in non-template code.
Compilation aborted, too many Error messages.