Nothing entered.
[http://sourceforge.net/p/ufoai/bugs/3468 Item 3468] imported from sourceforge.net tracker on 2013-01-28 20:10:24
While compiling current master on Mac OS X Mountain Lion, having followed the compiling instructions on project wiki pages, apparently a clang/llvm issue occurred:
===> CXX [uforadiant] src/tools/radiant/radiant/select.cpp
In file included from src/tools/radiant/radiant/select.cpp:37:
In file included from src/tools/radiant/libs/scenelib.h:42:
src/tools/radiant/libs/generic/reference.h:53:20: error: call to function 'operator<' that is neither visible in the template definition nor found by argument-dependent lookup
return self.get() < other.get();
^
/usr/include/c++/4.2.1/bits/stl_algobase.h:853:18: note: in instantiation of function template specialization 'operator<<scene::Node>' requested here
if (*__first1 < *__first2)
^
src/tools/radiant/libs/container/stack.h:212:9: note: in instantiation of function template specialization 'std::lexicographical_compare<const Reference<scene::Node> *, const Reference<scene::Node> *>' requested here
return std::lexicographical_compare(self.begin(), self.end(), other.begin(), other.end());
^
src/tools/radiant/libs/generic/reference.h:88:20: note: in instantiation of function template specialization 'operator<<Reference<scene::Node> >' requested here
return self.get() < other.get();
^
/usr/include/c++/4.2.1/bits/stl_pair.h:104:50: note: in instantiation of function template specialization 'operator<<Stack<Reference<scene::Node>> >' requested here
|| (!(__y.first < __x.first) && __x.second < __y.second); }
^
/usr/include/c++/4.2.1/bits/stl_function.h:227:20: note: in instantiation of function template specialization 'std::operator<<scene::Instantiable::Observer *, ConstReference<Stack<Reference<scene::Node>>> >' requested here
{ return __x < __y; }
^
/usr/include/c++/4.2.1/bits/stl_tree.h:1377:7: note: in instantiation of member function 'std::less<std::pair<scene::Instantiable::Observer *, ConstReference<Stack<Reference<scene::Node>>>> >::operator()' requested here
if (!_M_impl._M_key_compare(_S_key(__x), __k))
^
/usr/include/c++/4.2.1/bits/stl_map.h:542:21: note: in instantiation of member function 'std::_Rb_tree<std::pair<scene::Instantiable::Observer *, ConstReference<Stack<Reference<scene::Node>>>>, std::pair<const std::pair<scene::Instantiable::Observer *,
ConstReference<Stack<Reference<scene::Node>>>>, scene::Instance *>, std::_Select1st<std::pair<const std::pair<scene::Instantiable::Observer *, ConstReference<Stack<Reference<scene::Node>>>>, scene::Instance *>>, std::less<std::pair<scene::Instantiable::Observer *,
ConstReference<Stack<Reference<scene::Node>>>>>, std::allocator<std::pair<const std::pair<scene::Instantiable::Observer *, ConstReference<Stack<Reference<scene::Node>>>>, scene::Instance *>> >::find' requested here
{ return _M_t.find(__x); }
^
src/tools/radiant/libs/instancelib.h:177:31: note: in instantiation of member function 'std::map<std::pair<scene::Instantiable::Observer *, ConstReference<Stack<Reference<scene::Node>>>>, scene::Instance *, std::less<std::pair<scene::Instantiable::Observer *,
ConstReference<Stack<Reference<scene::Node>>>>>, std::allocator<std::pair<const std::pair<scene::Instantiable::Observer *, ConstReference<Stack<Reference<scene::Node>>>>, scene::Instance *>> >::find' requested here
ASSERT_MESSAGE(m_instances.find(key_type(observer, PathConstReference(instance->path()))) == m_instances.end(), "InstanceSet::insert - element already exists");
^
src/tools/radiant/libs/debugging/debugging.h:100:6: note: expanded from macro 'ASSERT_MESSAGE'
if(!(condition))\
^
src/tools/radiant/libs/scenelib.h:221:13: note: 'operator<' should be declared prior to the call site or in namespace 'scene'
inline bool operator< (scene::Node& node, scene::Node& other)
^
1 error generated.
make: *** [debug-darwin-i386/uforadiant/tools/radiant/radiant/select.cpp.o] Error 1