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