[Boost-bugs] [Boost C++ Libraries] #1051: MPL header ordering triggers bug

Subject: [Boost-bugs] [Boost C++ Libraries] #1051: MPL header ordering triggers bug
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-06-14 22:15:40


#1051: MPL header ordering triggers bug
------------------------------+---------------------------------------------
 Reporter: aribrei_at_[hidden] | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: mpl | Version:
 Severity: Problem | Keywords:
------------------------------+---------------------------------------------
 If I include <boost/mpl/map.hpp> after a series of MPL headers, my build
 breaks.

 When attached source is compiled with X defined, I get the following error
 message:

 {{{
 /usr/include/boost/mpl/map/aux_/contains_impl.hpp:31: error: ‘apply’ in
 class ‘boost::mpl::at_impl<boost::mpl::aux::map_tag>’ does not name a type
 /usr/include/boost/mpl/map/aux_/contains_impl.hpp:31: error: expected
 template-argument before ‘<’ token
 /usr/include/boost/mpl/map/aux_/contains_impl.hpp:31: error: expected `>'
 before ‘<’ token
 /usr/include/boost/mpl/map/aux_/contains_impl.hpp:34: error: wrong number
 of template arguments (1, should be 2)
 /usr/include/boost/type_traits/is_same.hpp:37: error: provided for
 â€˜template<class T, class U> struct boost::is_same’
 /usr/include/boost/mpl/map/aux_/contains_impl.hpp:34: error: expected `{'
 before ‘type’
 /usr/include/boost/mpl/map/aux_/contains_impl.hpp:35: error: invalid type
 in declaration before ‘,’ token
 /usr/include/boost/mpl/map/aux_/contains_impl.hpp:35: error: expected `;'
 before ‘,’ token
 /usr/include/boost/mpl/map/aux_/contains_impl.hpp:38: error: data member
 â€˜type’ cannot be a member template
 /usr/include/boost/mpl/map/aux_/has_key_impl.hpp:33: error: ‘apply’ in
 class ‘boost::mpl::at_impl<boost::mpl::aux::map_tag>’ does not name a type
 /usr/include/boost/mpl/map/aux_/has_key_impl.hpp:33: error: expected
 template-argument before ‘<’ token
 /usr/include/boost/mpl/map/aux_/has_key_impl.hpp:33: error: expected `>'
 before ‘<’ token
 /usr/include/boost/mpl/map/aux_/has_key_impl.hpp:33: error: template
 argument 1 is invalid
 /usr/include/boost/mpl/map/aux_/has_key_impl.hpp:33: error: expected `{'
 before ‘type’
 /usr/include/boost/mpl/map/aux_/has_key_impl.hpp:34: error: expected
 initializer before ‘>’ token
 /usr/include/boost/mpl/map/aux_/iterator.hpp:41: error: template argument
 1 is invalid
 /usr/include/boost/mpl/map/aux_/iterator.hpp:41: error: template argument
 1 is invalid
 /usr/include/boost/mpl/map/aux_/iterator.hpp:44: error: expected `{'
 before ‘>’ token
 /usr/include/boost/mpl/map/aux_/iterator.hpp:44: error: expected
 unqualified-id before ‘>’ token
 /usr/include/boost/mpl/map/aux_/iterator.hpp:62: error: expected nested-
 name-specifier before ‘item_by_order’
 /usr/include/boost/mpl/map/aux_/iterator.hpp:62: error: expected ‘;’
 before ‘<’ token
 }}}

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1051>
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:49:55 UTC