URL:
<http://gna.org/bugs/?16693>
Summary: Boost 1.44.0 failure: call of overloaded
'path(const int&)' is ambiguous
Project: Battle for Wesnoth
Submitted by: ryandesign
Submitted on: Monday 09/13/2010 at 11:54
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.8.4
Operating System: Mac OS X
_______________________________________________________
Details:
wesnoth cannot be compiled with Boost 1.44.0; the config.log contains this
error message:
configure:12416: checking for the Boost iostreams library
configure:12455: /usr/bin/g++-4.2 -c -Werror -Wno-unused-parameter
-Wno-strict-aliasing -O2 -W -Wall -ansi -pipe -O2 -arch x86_64 -arch i386
-DDISABLE_POOL_ALLOC -I/opt/local/include -I/opt/local/include
-I/opt/local/include -I/opt/local/include -I/opt/local/include conftest.cpp
>&5
/opt/local/include/boost/iostreams/device/file_descriptor.hpp: In constructor
'boost::iostreams::file_descriptor::file_descriptor(const Path&,
std::_Ios_Openmode) [with Path = int]':
conftest.cpp:47: instantiated from here
/opt/local/include/boost/iostreams/device/file_descriptor.hpp:91: error: call
of overloaded 'path(const int&)' is ambiguous
/opt/local/include/boost/iostreams/detail/path.hpp:111: note: candidates are:
boost::iostreams::detail::path::path(const std::wstring&) <near match>
/opt/local/include/boost/iostreams/detail/path.hpp:58: note:
boost::iostreams::detail::path::path(const boost::iostreams::detail::path&)
<near match>
/opt/local/include/boost/iostreams/detail/path.hpp:47: note:
boost::iostreams::detail::path::path(const char*) <near match>
/opt/local/include/boost/iostreams/detail/path.hpp:44: note:
boost::iostreams::detail::path::path(const std::string&) <near match>
This capability was removed / rewritten in Boost and you need to change
wesnoth's source to match; for more information please see
https://svn.boost.org/trac/boost/ticket/4460
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?16693>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs