Package: criticalmass Version: 0.9.11-1 Severity: serious criticalmass fails to build because it contains ambiguous calls of findHash:
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -W -Wall -fno-exceptions -O2 > -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include -c -o ResourceManager.o > ResourceManager.cpp > ResourceManager.cpp: In member function 'int > ResourceManager::getResourceSize(const std::string&)': > ResourceManager.cpp:199: error: call of overloaded 'findHash(const > std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, > __gnu_cxx::hash_map<const std::string, DirectoryEntry*, __gnu_cxx::hash<const > std::string>, std::equal_to<const std::string>, > std::allocator<DirectoryEntry*> >&)' is ambiguous > ./FindHash.hpp:21: note: candidates are: _ValT* findHash(_KeyT&, > __gnu_cxx::hash_map<_KeyT, _ValT*, __gnu_cxx::hash<_Key>, > std::equal_to<_Key>, std::allocator<_ValT*> >&) [with _KeyT = const > std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _ValT > = DirectoryEntry] > ./FindHash.hpp:39: note: _ValT* findHash(const _KeyT&, > __gnu_cxx::hash_map<const _KeyT, _ValT*, __gnu_cxx::hash<const _KeyT>, > std::equal_to<const _KeyT>, std::allocator<_ValT*> >&) [with _KeyT = > std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _ValT > = DirectoryEntry] > ResourceManager.cpp: In member function 'bool > ResourceManager::selectResource(const std::string&)': > ResourceManager.cpp:246: error: call of overloaded 'findHash(const > std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, > __gnu_cxx::hash_map<const std::string, DirectoryEntry*, __gnu_cxx::hash<const > std::string>, std::equal_to<const std::string>, > std::allocator<DirectoryEntry*> >&)' is ambiguous > ./FindHash.hpp:21: note: candidates are: _ValT* findHash(_KeyT&, > __gnu_cxx::hash_map<_KeyT, _ValT*, __gnu_cxx::hash<_Key>, > std::equal_to<_Key>, std::allocator<_ValT*> >&) [with _KeyT = const > std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _ValT > = DirectoryEntry] > ./FindHash.hpp:39: note: _ValT* findHash(const _KeyT&, > __gnu_cxx::hash_map<const _KeyT, _ValT*, __gnu_cxx::hash<const _KeyT>, > std::equal_to<const _KeyT>, std::allocator<_ValT*> >&) [with _KeyT = > std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _ValT > = DirectoryEntry] -- Matt
signature.asc
Description: Digital signature