From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26329 invoked by alias); 2 Sep 2005 09:01:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 25053 invoked by uid 48); 2 Sep 2005 09:01:24 -0000 Date: Fri, 02 Sep 2005 09:01:00 -0000 From: "caolanm at redhat dot com" To: gcc-bugs@gcc.gnu.org Message-ID: <20050902090119.23691.caolanm@redhat.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/23691] New: ‘mpl_::bool_::value’ is not a valid template argument for type ‘bool’ because it is a non-constant expression X-Bugzilla-Reason: CC X-SW-Source: 2005-09/txt/msg00178.txt.bz2 List-Id: 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