
12 Feb
2004
12 Feb
'04
10:22 p.m.
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. :-)