|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2002-12-19 15:50:15
FYI...
attached mail follows:
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 ------------------------ Yahoo! Groups Sponsor ---------------------~--> Get 128 Bit SSL Encryption! http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/EbFolB/TM ---------------------------------------------------------------------~-> Info: <http://www.boost.org> Wiki: <http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl> Unsubscribe: <mailto:boost-users-unsubscribe_at_[hidden]> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
-- David Abrahams dave_at_[hidden] * http://www.boost-consulting.com Boost support, enhancements, training, and commercial distribution
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk