Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-02-12 17:22:39


Ralf W. Grosse-Kunstleve wrote:
> Because of a problem in boost/function/function_template.hpp
> Boost.Python in the current CVS HEAD does not compile with gcc 2.96
> under RedHat 7.3. Attached is a suggested workaround (tested with gcc
> 2.96 and EDG 245).

[...]

> @@ -209,6 +211,7 @@
> // Clears up a warning with GCC 3.2.3
> return make_any_pointer(reinterpret_cast<void*>(0));

This of course doesn't have anything to do with your patch, but it caught my
eye. reinterpret_casting 0 to void* is not guaranteed to yield a null
pointer. :-)


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk