Compiling: sal/rtl/source/digest.c In file included from /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/bootstrap.cxx:44: ../../inc/rtl/allocator.hxx:125:14: warning: explicitly assigning a variable of type 'const void *' to itself [-Wself-assign] hint = hint; /* avoid warnings */ ~~~~ ^ ~~~~ In file included from /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/unload.cxx:31: ../../inc/rtl/allocator.hxx:125:14: warning: explicitly assigning a variable of type 'const void *' to itself [-Wself-assign] hint = hint; /* avoid warnings */ ~~~~ ^ ~~~~ In file included from /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/bootstrap.cxx:48: In file included from /Users/twagner/Development/OpenOffice/trunk/main/solver/410/unxmaccx.pro/inc/stl/hash_map:27: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/c++/v1/unordered_map:724:5: error: static_assert failed "Invalid allocator::value_type" static_assert((is_same::value), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/twagner/Development/OpenOffice/trunk/main/solver/410/unxmaccx.pro/inc/stl/hash_map:61:10: note: in instantiation of template class 'std::__1::unordered_map, rtl::Allocator >' requested here : public unordered_map<__K,__T,__H,__E,__A> ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/bootstrap.cxx:618:25: note: in instantiation of template class 'std::hash_map, rtl::Allocator >' requested here m_map = new t; ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/bootstrap.cxx:624:37: error: no member named 'empty' in 'std::hash_map, rtl::Allocator >' if (m_map != NULL && m_map->empty()) { ~~~~~ ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/bootstrap.cxx:661:23: error: no member named 'const_iterator' in 'std::hash_map, rtl::Allocator >' bootstrap_map::t::const_iterator iFind( p_bootstrap_map->find( iniName ) ); ~~~~~~~~~~~~~~~~~~^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/bootstrap.cxx:662:9: error: use of undeclared identifier 'iFind' if (iFind == p_bootstrap_map->end()) ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/bootstrap.cxx:662:35: error: no member named 'end' in 'std::hash_map, rtl::Allocator >' if (iFind == p_bootstrap_map->end()) ~~~~~~~~~~~~~~~ ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/bootstrap.cxx:669:9: error: use of undeclared identifier 'iFind' iFind = p_bootstrap_map->find( iniName ); ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/bootstrap.cxx:669:34: error: no member named 'find' in 'std::hash_map, rtl::Allocator >' iFind = p_bootstrap_map->find( iniName ); ~~~~~~~~~~~~~~~ ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/bootstrap.cxx:670:13: error: use of undeclared identifier 'iFind' if (iFind == p_bootstrap_map->end()) ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/bootstrap.cxx:670:39: error: no member named 'end' in 'std::hash_map, rtl::Allocator >' if (iFind == p_bootstrap_map->end()) ~~~~~~~~~~~~~~~ ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/bootstrap.cxx:673:26: error: no template named 'iterator' in 'std::hash_map, rtl::Allocator >'; did you mean 'std::iterator'? ::std::pair< bootstrap_map::t::iterator, bool > insertion( ^~~~~~~~~~~~~~~~~~~~~~~~~~ std::iterator /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/c++/v1/iterator:432:30: note: 'std::iterator' declared here struct _LIBCPP_TYPE_VIS_ONLY iterator ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/bootstrap.cxx:673:26: error: use of class template 'bootstrap_map::t::iterator' requires template arguments ::std::pair< bootstrap_map::t::iterator, bool > insertion( ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/c++/v1/iterator:432:30: note: template is declared here struct _LIBCPP_TYPE_VIS_ONLY iterator ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/bootstrap.cxx:674:34: error: no member named 'insert' in 'std::hash_map, rtl::Allocator >' p_bootstrap_map->insert( ~~~~~~~~~~~~~~~ ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/bootstrap.cxx:675:39: error: no member named 'value_type' in 'std::hash_map, rtl::Allocator >' bootstrap_map::t::value_type( iniName, that ) ) ); ~~~~~~~~~~~~~~~~~~^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/bootstrap.cxx:681:20: error: use of undeclared identifier 'iFind' that = iFind->second; ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/bootstrap.cxx:689:16: error: use of undeclared identifier 'iFind' that = iFind->second; ^ In file included from /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/unload.cxx:30: In file included from /Users/twagner/Development/OpenOffice/trunk/main/solver/410/unxmaccx.pro/inc/stl/hash_map:27: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/c++/v1/unordered_map:724:5: error: static_assert failed "Invalid allocator::value_type" /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/bootstrap.cxx:720:30: error: no member named 'size' in 'std::hash_map, rtl::Allocator >' static_assert((is_same::value), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if (p_bootstrap_map->size() > nLeaking) ~~~~~~~~~~~~~~~ ^ /Users/twagner/Development/OpenOffice/trunk/main/solver/410/unxmaccx.pro/inc/stl/hash_map:61:10: note: in instantiation of template class 'std::__1::unordered_map, hashModule, std::__1::equal_to, rtl::Allocator >' requested here : public unordered_map<__K,__T,__H,__E,__A> ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/bootstrap.cxx:722:53: /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/unload.cxx:error163: :9:no member named 'erase' in 'std::hash_map, rtl::Allocator >' note: in instantiation of template class 'std::hash_map, hashModule, std::__1::equal_to, rtl::Allocator >' requested here typedef ModuleMap::iterator Mod_IT; ^ ::std::size_t erased = p_bootstrap_map->erase( that->_iniName ); ~~~~~~~~~~~~~~~ ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/unload.cxx:202:23: error: no member named 'find' in 'std::hash_map, hashModule, std::__1::equal_to, rtl::Allocator >' Mod_IT it= moduleMap.find( module); ~~~~~~~~~ ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/unload.cxx:203:22: error: no member named 'end' in 'std::hash_map, hashModule, std::__1::equal_to, rtl::Allocator >' if( it != moduleMap.end()) ~~~~~~~~~ ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/unload.cxx:206:7: error: member reference type 'Mod_IT' (aka 'int') is not a pointer it->second.first++; ~~ ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/unload.cxx:217:13: error: type 'ModuleMap' (aka 'hash_map, hashModule, std::equal_to, rtl::Allocator >') does not provide a subscript operator moduleMap[module]= std::make_pair((sal_uInt32)1, pFunc); ~~~~~~~~~^~~~~~~ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/unload.cxx:230:23: error: no member named 'find' in 'std::hash_map, hashModule, std::__1::equal_to, rtl::Allocator >' Mod_IT it= moduleMap.find( module); ~~~~~~~~~ ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/unload.cxx:231:22: error: no member named 'end' in 'std::hash_map, hashModule, std::__1::equal_to, rtl::Allocator >' if( it != moduleMap.end() ) ~~~~~~~~~ ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/unload.cxx:234:7: error: member reference type 'Mod_IT' (aka 'int') is not a pointer it->second.first --; ~~ ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/unload.cxx:237:11: error: member reference type 'Mod_IT' (aka 'int') is not a pointer if( it->second.first == 0) ~~ ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/unload.cxx:238:14: error: no member named 'erase' in 'std::hash_map, hashModule, std::__1::equal_to, rtl::Allocator >' moduleMap.erase( it); ~~~~~~~~~ ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/unload.cxx:250:25: error: no member named 'end' in 'std::hash_map, hashModule, std::__1::equal_to, rtl::Allocator >' Mod_IT it_e= moduleMap.end(); ~~~~~~~~~ ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/unload.cxx:259:23: error: no member named 'begin' in 'std::hash_map, hashModule, std::__1::equal_to, rtl::Allocator >' Mod_IT it= moduleMap.begin(); ~~~~~~~~~ ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/unload.cxx:263:37: error: member reference type 'Mod_IT' (aka 'int') is not a pointer component_canUnloadFunc func= it->second.second; ~~ ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/unload.cxx:273:30: error: member reference type 'Mod_IT' (aka 'int') is not a pointer sal_uInt32 refCount= it->second.first; ~~ ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/unload.cxx:276:28: error: member reference type 'Mod_IT' (aka 'int') is not a pointer osl_unloadModule( it->first); ~~ ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/unload.cxx:279:41: error: member reference type 'Mod_IT' (aka 'int') is not a pointer unloadedModulesList.push_front( it->first); ~~ ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/unload.cxx:288:13: error: no member named 'erase' in 'std::hash_map, hashModule, std::__1::equal_to, rtl::Allocator >' moduleMap.erase( *un_it); ~~~~~~~~~ ^ In file included from /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/unload.cxx:30: In file included from /Users/twagner/Development/OpenOffice/trunk/main/solver/410/unxmaccx.pro/inc/stl/hash_map:27: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/c++/v1/unordered_map:724:5: error: static_assert failed "Invalid allocator::value_type" static_assert((is_same::value), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/twagner/Development/OpenOffice/trunk/main/solver/410/unxmaccx.pro/inc/stl/hash_map:61:10: note: in instantiation of template class 'std::__1::unordered_map, hashListener, std::__1::equal_to, rtl::Allocator >' requested here : public unordered_map<__K,__T,__H,__E,__A> ^ /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/unload.cxx:312:9: note: in instantiation of template class 'std::hash_map, hashListener, std::__1::equal_to, rtl::Allocator >' requested here typedef ListenerMap::iterator Lis_IT; ^ 1 warning and 17 errors generated. dmake: Error code 1, while making '../../unxmaccx.pro/obj/bootstrap.obj' /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source/unload.cxx:388:13: error: type 'ListenerMap' (aka 'hash_map, hashListener, std::equal_to, rtl::Allocator >') does not provide a subscript operator listenerMap[ cookie]= std::make_pair( callback, _this); ~~~~~~~~~~~^ ~~~~~~ 1 module(s): sal need(s) to be rebuilt Reason(s): ERROR: error 65280 occurred while making /Users/twagner/Development/OpenOffice/trunk/main/sal/rtl/source When you have fixed the errors in that module you can resume the build by running: build --from sal fatal error: too many errors emitted, stopping now [-ferror-limit=]