[C++-sig] Compiler error in boost/python/object_protocol.hpp

David Abrahams dave at boost-consulting.com
Wed Dec 18 18:56:34 CET 2002


Gottfried.Ganssauge at HAUFE.DE writes:

> In boost/python/object_protocol.hpp is a slight error in method setattr():
> Although the method is declared as void it tries to return something.
> Please see the attached patch
>
> Cheers,
>  
> Gottfried Ganßauge
>  <<object_protocol.hpp.patch>> 

THanks, Gottfried.  It's actually legal C++, but lots of older
compilers will have a problem with it, so I fixed it (and a few
others).

-- 
                       David Abrahams
   dave at boost-consulting.com * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution





More information about the Cplusplus-sig mailing list