This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24275] [4.0/4.1 Regression] Previously accepted code fails with 4.0.2
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Oct 2005 17:30:46 -0000
- Subject: [Bug c++/24275] [4.0/4.1 Regression] Previously accepted code fails with 4.0.2
- References: <bug-24275-3433@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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