[Boost-bugs] [Boost C++ Libraries] #3864: boost.multi_index doesn't work with gcc-4.5 in c++0x mode

Subject: [Boost-bugs] [Boost C++ Libraries] #3864: boost.multi_index doesn't work with gcc-4.5 in c++0x mode
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-01-26 17:06:35


#3864: boost.multi_index doesn't work with gcc-4.5 in c++0x mode
------------------------------------------------+---------------------------
 Reporter: Linghua Tseng <uranus@…> | Owner: joaquin
     Type: Bugs | Status: new
Milestone: Boost 1.42.0 | Component: multi_index
  Version: Boost 1.41.0 | Severity: Problem
 Keywords: |
------------------------------------------------+---------------------------
 Compiler (gcc 4.5 snapshot 20100121):
 {{{
 Using built-in specs.
 COLLECT_GCC=g++
 COLLECT_LTO_WRAPPER=/home/lhtseng/gcc45/libexec/gcc/x86_64-pc-linux-
 gnu/4.5.0/lto-wrapper
 Target: x86_64-pc-linux-gnu
 Thread model: posix
 gcc version 4.5.0 20100121 (experimental) (GCC)
 }}}
 [[BR]]
 test.cxx:
 {{{
 #include <boost/multi_index_container.hpp>

 int main()
 {
 }
 }}}
 [[BR]]
 command:
 {{{
 g++ -std=gnu++0x test.cxx -o test
 }}}
 [[BR]]
 a part of error messages (full text was in the attachment):
 {{{
 ...
 /usr/include/boost/mpl/aux_/preprocessed/gcc/full_lambda.hpp:555:1: error:
 specialization of
 'boost::mpl::aux::template_arity<boost::mpl::lambda<mpl_::na, mpl_::na> >'
 after instantiation
 /usr/include/boost/mpl/aux_/preprocessed/gcc/full_lambda.hpp:555:1: error:
 redefinition of 'struct
 boost::mpl::aux::template_arity<boost::mpl::lambda<mpl_::na, mpl_::na> >'
 /usr/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:92:1:
 error: previous definition of 'struct
 boost::mpl::aux::template_arity<boost::mpl::lambda<mpl_::na, mpl_::na> >'
 ...
 /usr/include/boost/mpl/aux_/preprocessed/gcc/or.hpp:67:1: error:
 specialization of 'boost::mpl::aux::template_arity<boost::mpl::or_<> >'
 after instantiation
 /usr/include/boost/mpl/aux_/preprocessed/gcc/or.hpp:67:1: error:
 redefinition of 'struct boost::mpl::aux::template_arity<boost::mpl::or_<>
>'
 /usr/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:92:1:
 error: previous definition of 'struct
 boost::mpl::aux::template_arity<boost::mpl::or_<> >'
 ...
 /usr/include/boost/mpl/aux_/preprocessed/gcc/and.hpp:67:1: error:
 specialization of 'boost::mpl::aux::template_arity<boost::mpl::and_<> >'
 after instantiation
 /usr/include/boost/mpl/aux_/preprocessed/gcc/and.hpp:67:1: error:
 redefinition of 'struct boost::mpl::aux::template_arity<boost::mpl::and_<>
>'
 /usr/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:92:1:
 error: previous definition of 'struct
 boost::mpl::aux::template_arity<boost::mpl::and_<> >'
 ...
 }}}
 Perhaps it's a problem of boost.mpl?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3864>
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:02 UTC