UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #3468 Compiling radiant fails
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "CAN'T REPRODUCE".
Issue basics
  • Type of issue
    Bug report
  • Category
    General
  • Targetted for
    Not determined
  • Status
    Closed
  • Progress
  • Priority
    1. Very low
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
Issue details
  • Resolution
    CAN'T REPRODUCE
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    MacOSX
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[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 &#039;operator<&#039; 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 &#039;operator<<scene::Node>&#039; requested here
if (*__first1 < *__first2)
^
src/tools/radiant/libs/container/stack.h:212:9: note: in instantiation of function template specialization &#039;std::lexicographical_compare<const Reference<scene::Node> *, const Reference<scene::Node> *>&#039; 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 &#039;operator<<Reference<scene::Node> >&#039; 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 &#039;operator<<Stack<Reference<scene::Node>> >&#039; 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 &#039;std::operator<<scene::Instantiable::Observer *, ConstReference<Stack<Reference<scene::Node>>> >&#039; requested here
{ return __x < __y; }
^
/usr/include/c++/4.2.1/bits/stl_tree.h:1377:7: note: in instantiation of member function &#039;std::less<std::pair<scene::Instantiable::Observer *, ConstReference<Stack<Reference<scene::Node>>>> >::operator()&#039; 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 &#039;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&#039; requested here
{ return _M_t.find(__x); }
^
src/tools/radiant/libs/instancelib.h:177:31: note: in instantiation of member function &#039;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&#039; 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 &#039;ASSERT_MESSAGE&#039;
if(!(condition))\
^
src/tools/radiant/libs/scenelib.h:221:13: note: &#039;operator<&#039; should be declared prior to the call site or in namespace &#039;scene&#039;
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
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif