Index: libs/python/test/exec.cpp =================================================================== --- libs/python/test/exec.cpp (revision 66294) +++ libs/python/test/exec.cpp (working copy) @@ -37,7 +37,7 @@ // http://boost.org/libs/python/doc/tutorial/doc/html/python/exposing.html#python.class_virtual_functions return python::call(this->get_override("hello").ptr()); #else - return this->get_override("hello")(); + return static_cast(this->get_override("hello")()); #endif } };