← Back to team overview

widelands-dev team mailing list archive

Re: [Merge] lp:~widelands-dev/widelands/cxx11 into lp:widelands

 

Now that bug 1203121 has been fixed, I tried to merge this again, based on latest trunk. Results:
Builds on Ubuntu 10.04 with GCC 4.4. Just for fun, I tried to install clang2.7 and see what happened, but it didn't even seem to have a clang++ binary?

Anyways, Ubuntu 12.04:
It builds fine with GCC 4.6 now, even with boost 1.46.
I also tried with clang3.0, though that was slightly tricker. It failed to build with the default boost1.46 (see below for details), but built fine after I manually installed boost1.48 libraries instead. I'm not going to fight for this one though, since a) it works with GCC and b) if people really, really want to build with clang instead, they can install boost1.48. (And c) this looks like the error is occuring inside boost itself, so I'm not sure if we could have done much anyways.)

[  1%] Building CXX object src/CMakeFiles/widelands_all.dir/ui_fsmenu/mapselect.cc.o
In file included from /home/ubuntu/widelands/src/ui_fsmenu/mapselect.cc:30:
In file included from /home/ubuntu/widelands/src/logic/editor_game_base.h:24:
In file included from /home/ubuntu/widelands/src/logic/building.h:37:
In file included from /usr/include/boost/signal.hpp:19:
In file included from /usr/include/boost/signals/signal0.hpp:24:
In file included from /usr/include/boost/signals/signal_template.hpp:18:
/usr/include/boost/signals/connection.hpp:102:16: error: call to deleted constructor of
      'shared_ptr<signals::detail::basic_connection>'
      { return con; }
               ^~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:168:25: note: function has been explicitly marked deleted
      here
template<class T> class shared_ptr
                        ^
In file included from /home/ubuntu/widelands/src/ui_fsmenu/mapselect.cc:30:
In file included from /home/ubuntu/widelands/src/logic/editor_game_base.h:24:
In file included from /home/ubuntu/widelands/src/logic/building.h:37:
In file included from /usr/include/boost/signal.hpp:19:
In file included from /usr/include/boost/signals/signal0.hpp:24:
In file included from /usr/include/boost/signals/signal_template.hpp:21:
/usr/include/boost/signals/slot.hpp:36:54: error: call to deleted constructor of
      'shared_ptr<boost::signals::detail::slot_base::data_t>'
        shared_ptr<data_t> get_data() const { return data; }
                                                     ^~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:468:36: note: function has been explicitly marked deleted
      here
    template<class Y> friend class shared_ptr;
                                   ^
In file included from /home/ubuntu/widelands/src/ui_fsmenu/mapselect.cc:30:
In file included from /home/ubuntu/widelands/src/logic/editor_game_base.h:24:
In file included from /home/ubuntu/widelands/src/logic/building.h:37:
In file included from /usr/include/boost/signal.hpp:19:
In file included from /usr/include/boost/signals/signal0.hpp:24:
In file included from /usr/include/boost/signals/signal_template.hpp:23:
/usr/include/boost/signals/detail/signal_base.hpp:144:49: error: call to deleted constructor of
      'shared_ptr<slot_base::data_t>'
          return impl->connect_slot(slot, name, data, at);
                                                ^~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:468:36: note: function has been explicitly marked deleted
      here
    template<class Y> friend class shared_ptr;
                                   ^
/usr/include/boost/signals/detail/signal_base.hpp:90:63: note: passing argument to parameter 'data' here
                                shared_ptr<slot_base::data_t> data,
                                                              ^
3 errors generated.
make[2]: *** [src/CMakeFiles/widelands_all.dir/ui_fsmenu/mapselect.cc.o] Error 1
make[1]: *** [src/CMakeFiles/widelands_all.dir/all] Error 2
make: *** [all] Error 2
-- 
https://code.launchpad.net/~widelands-dev/widelands/cxx11/+merge/175455
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/cxx11 into lp:widelands.


References