boost template causing error
gcc --version
gcc (GCC) 4.0.1 20050831 (Red Hat 4.0.1-12)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
/usr/include/boost/detail/sp_counted_impl.hpp: In member function âvirtual void*
boost::detail::sp_counted_impl_pd
::get_deleter(const std::type_info&)â:
/usr/include/boost/detail/sp_counted_impl.hpp:147: error:
âmpl_::bool_::valueâ is not a valid template argument for type âboolâ
because it is a non-constant expression
/usr/include/boost/detail/sp_counted_impl.hpp:147: error:
âmpl_::bool_::valueâ is not a valid template argument for type âboolâ
because it is a non-constant expression
../inc/layermanager.hxx: In member function âvoid
presentation::internal::LayerManager::forEachShape(const Functor&) constâ:
../inc/layermanager.hxx:299: error: âmpl_::bool_::valueâ is not a valid
template argument for type âboolâ because it is a non-constant expression
../inc/layermanager.hxx:299: error: âmpl_::bool_::valueâ is not a valid
template argument for type âboolâ because it is a non-constant expression
../inc/layermanager.hxx: In member function âvoid
presentation::internal::LayerManager::forEachShape(const Functor&)â:
../inc/layermanager.hxx:333: error: âmpl_::bool_::valueâ is not a valid
template argument for type âboolâ because it is a non-constant expression
../inc/layermanager.hxx:333: error: âmpl_::bool_::valueâ is not a valid
template argument for type âboolâ because it is a non-constant expression
--
Summary: âmpl_::bool_::valueâ is not a valid template
argument for type âboolâ because it is a non-
constant expression
Product: gcc
Version: 4.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: caolanm at redhat dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23691