This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/23691] New: ‘mpl_::bool_<false>::value’ is not a valid template argument for type ‘bool’ because it is a non-constant expression


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<P, D>::get_deleter(const std::type_info&)â??:
/usr/include/boost/detail/sp_counted_impl.hpp:147: error:
â??mpl_::bool_<false>::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_<false>::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_<false>::valueâ?? is not a valid
template argument for type â??boolâ?? because it is a non-constant expression
../inc/layermanager.hxx:299: error: â??mpl_::bool_<false>::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_<false>::valueâ?? is not a valid
template argument for type â??boolâ?? because it is a non-constant expression
../inc/layermanager.hxx:333: error: â??mpl_::bool_<false>::valueâ?? is not a valid
template argument for type â??boolâ?? because it is a non-constant expression

-- 
           Summary: â??mpl_::bool_<false>::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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]