URL:
<http://gna.org/bugs/?24227>
Summary: error: no matching function for call to
'boost::none_t::none_t()' with boost 1.60
Project: Battle for Wesnoth
Submitted by: valdar
Submitted on: Thu 24 Dec 2015 03:48:38 PM UTC
Category: Bug
Severity: 4 - Important
Priority: 5 - Normal
Item Group: None of the others
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.13.2
Operating System: linux
_______________________________________________________
Details:
Once you try to build with boost 1.60 this is the error:
scons: Building targets ...
g++ -o build/release/actions/attack.o -c -std=c++98 -march=i686 -mtune=generic
-O2 -pipe -fstack-protector-strong -W -Wall -O2 -D_GNU_SOURCE=1 -D_REENTRANT
-DHAVE_LIBDBUS -DHAVE_FRIBIDI -DHAVE_LIBPNG -DHAVE_HISTORY -DHAVE_CONFIG_H
-D_X11 -Ibuild -Isrc -I/usr/include/SDL -I/usr/include
-I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libdrm
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi
src/actions/attack.cpp
In file included from src/actions/attack.cpp:38:0:
src/actions/../play_controller.hpp: In member function 'void
play_controller::reset_end_level_data()':
src/actions/../play_controller.hpp:140:47: error: no matching function for
call to 'boost::none_t::none_t()'
gamestate().end_level_data_ = boost::none_t();
^
In file included from /usr/include/boost/none.hpp:16:0,
from /usr/include/boost/optional/optional.hpp:51,
from /usr/include/boost/optional.hpp:15,
from src/actions/../game_end_exceptions.hpp:32,
from src/actions/../game_data.hpp:21,
from src/actions/attack.cpp:33:
/usr/include/boost/none_t.hpp:32:12: note: candidate:
boost::none_t::none_t(boost::none_t::init_tag)
explicit none_t(init_tag){} // to prevent default constructor
^
/usr/include/boost/none_t.hpp:32:12: note: candidate expects 1 argument, 0
provided
/usr/include/boost/none_t.hpp:29:8: note: candidate:
boost::none_t::none_t(const boost::none_t&)
struct none_t
^
/usr/include/boost/none_t.hpp:29:8: note: candidate expects 1 argument, 0
provided
scons: *** [build/release/actions/attack.o] Error 1
scons: building terminated because of errors.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?24227>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs