[C++-sig] Re: Boost.Python bug

David Abrahams dave at boost-consulting.com
Sun Oct 5 14:30:58 CEST 2003


"Niall Douglas" <s_sourceforge at nedprod.com> writes:

> On 4 Oct 2003 at 7:57, David Abrahams wrote:
>
>> > It complains "boost\boost\python\detail\invoke.hpp(76) : error
>> > C2064: term does not evaluate to a function taking 2 arguments"
>> 
>> That doesn't make it a Boost.Python bug.  It works with every other
>> compiler I've tried.
>
> Hang on: does this mean it didn't work on your MSVC7.1 either? 

Yes.

> I did spend some hours zeroing that down to a small repeatable
> example for you as you always request.

Thanks.

> Also, you know as well as I that the whole Boost library always
> works around compiler idiosyncracies where possible. While it isn't
> technically a BP bug, it does interfere with BP's implicit goal of
> being useful on all major compilers.

So, do you know of a workaround?

> If it can't be fixed, at least a FAQ entry saying it doesn't work due 
> to a bug in MSVC7.1 would be a good idea?

There are lots of corner cases which don't work on various compilers
due to bugs in the compilers.  I don't feel the need to document each
one that we discover.  HOwever, if you want to contribute an
appropriate doc patch I'll gladly check it in.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com





More information about the Cplusplus-sig mailing list