
Hi Frank, Your solution works perfectly on all our platforms, in addition to being nicer than the type holder trick. Thanks for the quick fix! Ralf ----- Original Message ---- From: Frank Mori Hess <fmhess@speakeasy.net> To: boost@lists.boost.org Sent: Friday, March 21, 2008 5:11:52 PM Subject: Re: [boost] [shared_ptr] gcc 3.2 build broken with current trunk 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