|
Boost Users : |
From: Volker Boerchers (vboerchers_at_[hidden])
Date: 2002-12-19 09:20:47
Hi,
I'm getting the following error on Linux 2.2.16 / Suse 7.0 / g++ 2.95.2 /
glibc 2.1.3:
../../../../../include/boost/pool/detail/ct_gcd_lcm.hpp:43: sorry, not
implemented: `static_cast_expr' not supported by dump_expr
../../../../../include/boost/pool/detail/ct_gcd_lcm.hpp:43: sorry, not
implemented: `static_cast_expr' not supported by dump_expr
The following patch fixes it:
--- include/boost/pool/detail/ct_gcd_lcm.hpp.orig Thu Dec 19 15:10:54 2002
+++ include/boost/pool/detail/ct_gcd_lcm.hpp Thu Dec 19 14:58:41 2002
@@ -38,7 +38,7 @@
BOOST_STATIC_CONSTANT(unsigned, A_mod_B_ = A % B);
BOOST_STATIC_CONSTANT(unsigned, value =
(::boost::details::pool::details::ct_gcd_helper<
- B, static_cast<unsigned>(A_mod_B_),
+ B, A_mod_B_,
::boost::type_traits::ice_eq<A_mod_B_, 0>::value
>::value) );
};
What is the cast good for anyway? It seems redundant.
Regards,
Volker
-- Volker Boerchers <vboerchers_at_[hidden]> System Engineer TECON Systems AG, Perlengraben 2, 50676 Köln, http://www.tecon.de Tel: +49-221-92007-55, Fax: +49-221-92007-77
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net