
On Friday 21 March 2008 18:53, Ralf W. Grosse-Kunstleve wrote:
Hi Frank,
Your patch resolves the error I posted before, but there are still other, similar errors while compiling other Boost.Python sources. I think this is the problem:
shared_ptr.hpp: if(del_wrapper) del = del_wrapper->get_deleter<D>(); ^^^ ^^^ I think gcc 3.2 doesn't support this syntax. In the old days this was a common problem. The usual workaround is to use a type holder. See the patch below, which resolves all my compilation errors.
I put a different workaround in svn a little while ago (fully qualified the get_deleter call) which allowed get_deleter to compile with gcc 2.95. Is the type holder solution more effective? -- Frank