I have a customer that getting the following error when trying to
compile his code:
Platform: Solaris 9
Compiler: SunPro 5.9
Build: Multithreaded-Debug-shared
Error Message:
"include/map", line 206: Error: second is not a member of RWCString.
"GOCC_GuiPref.cc", line 93: Where: While instantiating
"std::map<RWCString, GOCC_WinPref*, std::less<RWCString>,
std::allocator<RWCString>>::operator[](const RWCString&)".
Code:
Line 206 of Map looks like this:
mapped_type& operator[] (const key_type &__k) {
// note: temporary is necessary to avoid an xlC 5.0 bug (PR
#25040)
iterator __i = insert (value_type (__k, mapped_type ())).first;
return (*__i).second;
}
Jeremy