[Bug 218883] games/OpenTomb: Open-source Tomb Raider 1-5 engine remake

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Apr 27 13:48:47 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218883

Piotr Kubaj <pkubaj at anongoth.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #182093|0                           |1
        is obsolete|                            |

--- Comment #3 from Piotr Kubaj <pkubaj at anongoth.pl> ---
Created attachment 182127
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=182127&action=edit
shar

I need GCC because of:
[ 75%] Building CXX object CMakeFiles/OpenTomb.dir/src/world.cpp.o
/usr/bin/c++    -I/usr/local/include -I/usr/local/include/lua52
-I/usr/local/include/SDL2 -I/usr/local/include/AL
-I/usr/local/poudriere/ports/default/games/OpenTomb/work/OpenTomb-win32-2017-04-24_alpha
-I/usr/local/poudriere/ports/default/games/OpenTomb/work/OpenTomb-win32-2017-04-24_alpha/extern/bullet
-I/usr/local/poudriere/ports/default/games/OpenTomb/work/OpenTomb-win32-2017-04-24_alpha/extern/freetype2/include
-I/usr/local/poudriere/ports/default/games/OpenTomb/work/OpenTomb-win32-2017-04-24_alpha/extern/ogg
-O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector
-fno-strict-aliasing   -std=gnu++11 -o CMakeFiles/OpenTomb.dir/src/world.cpp.o
-c
/usr/local/poudriere/ports/default/games/OpenTomb/work/OpenTomb-win32-2017-04-24_alpha/src/world.cpp
/usr/local/poudriere/ports/default/games/OpenTomb/work/OpenTomb-win32-2017-04-24_alpha/src/world.cpp:689:53:
error: no viable conversion from
'__map_iterator<__tree_iterator<__value_type<unsigned int, [...]>, class
std::__1::__tree_node<union
      std::__1::__value_type<unsigned int, struct base_item_s *>, void *> *,
[...]>>' to '__map_iterator<__tree_iterator<__value_type<const unsigned int,
[...]>, class std::__1::__tree_node<union std::__1::__value_type<const unsigned
int, struct base_item_s *>, void
      *> *, [...]>>'
    std::map<const uint32_t, base_item_p>::iterator it =
global_world.items_tree.find(item_id);
                                                    ^   
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/map:648:29: note: candidate constructor (the implicit copy
constructor) not viable: no known conversion from 'iterator' (aka
'__map_iterator<typename __base::iterator>') to 'const
     
std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<const
unsigned int, base_item_s *>,
std::__1::__tree_node<std::__1::__value_type<const unsigned int, base_item_s
*>, void *> *, long> > &' for 1st argument
class _LIBCPP_TYPE_VIS_ONLY __map_iterator
                            ^
/usr/include/c++/v1/map:648:29: note: candidate constructor (the implicit move
constructor) not viable: no known conversion from 'iterator' (aka
'__map_iterator<typename __base::iterator>') to
     
'std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<const
unsigned int, base_item_s *>,
std::__1::__tree_node<std::__1::__value_type<const unsigned int, base_item_s
*>, void *> *, long> > &&' for 1st argument
class _LIBCPP_TYPE_VIS_ONLY __map_iterator
                            ^
/usr/include/c++/v1/map:672:5: note: candidate constructor not viable: no known
conversion from 'iterator' (aka '__map_iterator<typename __base::iterator>') to
'std::__1::__tree_iterator<std::__1::__value_type<const unsigned int,
base_item_s *>,
      std::__1::__tree_node<std::__1::__value_type<const unsigned int,
base_item_s *>, void *> *, long>' for 1st argument
    __map_iterator(_TreeIterator __i) _NOEXCEPT : __i_(__i) {}
    ^
1 error generated.
*** Error code 1

bin/OpenTomb is actually enough, look at games/eduke32, it also installs just 2
binaries if you disable relevant options.

Please review the new shar.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list