Subject: [Boost-bugs] [Boost C++ Libraries] #6071: Boost Test (Boost 1.46.0) GCC 4.6.1 error: ambiguous overload for âoperator[]â
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-29 22:56:24
#6071: Boost Test (Boost 1.46.0) GCC 4.6.1 error: ambiguous overload for
âoperator[]â
------------------------------------+---------------------------------------
Reporter: lshlyapnikov@⦠| Owner: rogeeff
Type: Bugs | Status: new
Milestone: To Be Determined | Component: test
Version: Boost 1.46.0 | Severity: Problem
Keywords: |
------------------------------------+---------------------------------------
Compiling my project unit tests and getting the following error (used to
compile with older GCC (4.4?)):
{{{
/usr/include/boost/test/impl/debug.ipp: In function âstd::string
boost::debug::set_debugger(boost::unit_test::const_string,
boost::debug::dbg_starter)â:
/usr/include/boost/test/impl/debug.ipp:737:46: error: ambiguous overload
for âoperator[]â in
âboost::debug::{anonymous}::s_info.boost::debug::{anonymous}::info_t::m_dbg_starter_reg[boost::debug::{anonymous}::s_info.boost::debug::{anonymous}::info_t::p_dbg]â
compilation terminated due to -Wfatal-errors.
Here is my machine info:
$ cat /etc/redhat-release
Fedora release 15 (Lovelock)
$ g++ --version
g++ (GCC) 4.6.1 20110908 (Red Hat 4.6.1-9)
$ yum list installed | fgrep boost
boost.x86_64 1.46.0-3.fc15 @updates
boost-build.noarch 1.46.0-3.fc15 @updates
boost-date-time.x86_64 1.46.0-3.fc15 @updates
boost-devel.x86_64 1.46.0-3.fc15 @updates
boost-doc.noarch 1.46.0-3.fc15 @updates
boost-filesystem.x86_64 1.46.0-3.fc15 @updates
boost-graph.x86_64 1.46.0-3.fc15 @updates
boost-graph-mpich2.x86_64 1.46.0-3.fc15 @updates
boost-iostreams.x86_64 1.46.0-3.fc15 @updates
boost-jam.x86_64 1.46.0-3.fc15 @updates
boost-mpich2.x86_64 1.46.0-3.fc15 @updates
boost-program-options.x86_64 1.46.0-3.fc15 @updates
boost-python.x86_64 1.46.0-3.fc15 @updates
boost-random.x86_64 1.46.0-3.fc15 @updates
boost-regex.x86_64 1.46.0-3.fc15 @updates
boost-serialization.x86_64 1.46.0-3.fc15 @updates
boost-signals.x86_64 1.46.0-3.fc15 @updates
boost-static.x86_64 1.46.0-3.fc15 @updates
boost-system.x86_64 1.46.0-3.fc15 @updates
boost-test.x86_64 1.46.0-3.fc15 @updates
boost-thread.x86_64 1.46.0-3.fc15 @updates
boost-wave.x86_64 1.46.0-3.fc15 @updates
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6071> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC