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++/24275] [4.0/4.1 Regression] Previously accepted code fails with 4.0.2



------- Comment #3 from pinskia at gcc dot gnu dot org  2005-10-08 17:30 -------
CCing Mark because it looks like it was caused by his fix for PR xxx:
boost/boost/detail/is_incrementable.hpp: In instantiation of ?const bool
boost::detail::is_incrementable_::impl<not_incrementable>::value?:
boost/boost/detail/is_incrementable.hpp:82:   instantiated from
?boost::detail::is_incrementable<not_incrementable>?
t.cpp:8:   instantiated from here
boost/boost/detail/is_incrementable.hpp:59: error: no match for ?operator++? in
?++boost::detail::is_incrementable_::impl<not_incrementable>::x?
boost/boost/detail/is_incrementable.hpp: In instantiation of
?boost::detail::is_incrementable<not_incrementable>?:
t.cpp:8:   instantiated from here
boost/boost/detail/is_incrementable.hpp:82: error:
?boost::detail::is_incrementable_::impl<not_incrementable>::value? is not a
valid template argument for type ?bool? because it is a non-constant expression
t.cpp:8: error: ?value? is not a member of
?boost::detail::is_incrementable<not_incrementable>?


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mmitchel at gcc dot gnu dot
                   |                            |org
           Keywords|                            |rejects-valid
            Summary|Previously accepted code    |[4.0/4.1 Regression]
                   |fails with 4.0.2            |Previously accepted code
                   |                            |fails with 4.0.2
   Target Milestone|---                         |4.0.3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24275


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