[C++-sig] Boost.Python bug

Niall Douglas s_sourceforge at nedprod.com
Sat Oct 4 03:11:05 CEST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The following doesn't compile on MSVC7.1 with today's CVS:

#include <boost/python.hpp>

using namespace boost::python;

class FXThread
{
public:
	bool setAutoDelete(bool doso) throw();
};

void Export_FXThread()
{
    class_< FXThread >("FXThread")
        .def("setAutoDelete", &FXThread::setAutoDelete)
    ;
}

It complains "boost\boost\python\detail\invoke.hpp(76) : error C2064: 
term does not evaluate to a function taking 2 arguments"

Cheers,
Niall





-----BEGIN PGP SIGNATURE-----
Version: idw's PGP-Frontend 4.9.6.1 / 9-2003 + PGP 8.0.2

iQA/AwUBP34eKcEcvDLFGKbPEQJYigCgip5hNOW77IJLAYVyl5vACm0BzLkAnArU
h3w4h8Cf4VMpjxJuy6GzMZBf
=jy5r
-----END PGP SIGNATURE-----




More information about the Cplusplus-sig mailing list