This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
g++-3.0 vs boost 1.22.0
- To: gcc at gcc dot gnu dot org
- Subject: g++-3.0 vs boost 1.22.0
- From: Peter Schmid <schmid at snake dot iap dot physik dot tu-darmstadt dot de>
- Date: Wed, 6 Jun 2001 03:35:17 +0200 (CEST)
- cc: libstdc++ at gcc dot gnu dot org
After applying this patch
*** ./boost/type_traits/conversion_traits.hpp~ Mon May 28 17:12:02 2001
--- ./boost/type_traits/conversion_traits.hpp Sun Jun 3 08:29:20 2001
*************** namespace detail{
*** 149,154 ****
--- 149,156 ----
{
template <class T>
any_conversion(const T&);
+ template <class T>
+ any_conversion(T&);
};
template <class T>
struct checker
*** ./boost/rational.hpp~ Mon May 28 17:11:33 2001
--- ./boost/rational.hpp Sun Jun 3 08:22:44 2001
*************** std::istream& operator>> (std::istream&
*** 491,497 ****
if (c != '/')
is.clear(std::istream::badbit); // old GNU c++ lib has no ios_base
! #if !defined(__GNUC__) || defined __SGI_STL_PORT
is >> std::noskipws;
#else
is.unsetf(ios::skipws); // compiles, but seems to have no effect.
--- 491,497 ----
if (c != '/')
is.clear(std::istream::badbit); // old GNU c++ lib has no ios_base
! #if __GNUC__ >= 3 || defined __SGI_STL_PORT
is >> std::noskipws;
#else
is.unsetf(ios::skipws); // compiles, but seems to have no effect.
all tests of the boost 1.22.0 regression test suite pass except for
libs/utility/call_traits_test.cpp for gcc version 3.0 20010604 on
i686-pc-linux-gnu. This test fails because g++ cannot handle
cv-qualified references. Please confer PR 2362 or PR 2645.
Please implement this feature for gcc 3.0.
But this failure happens in code that is ifdef'ed out for gcc
compilers with a major version number smaller than three and is
therefore no regression with respect to gcc 2.95.
Hope this helps,
Peter Schmid