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