2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-21 05:02:17 +00:00

g++ 4.3.0 compatibility (4.3.0 20071125 (experimental))

[SVN r41404]
This commit is contained in:
Ralf W. Grosse-Kunstleve
2007-11-26 20:46:28 +00:00
parent 8cd4ff8950
commit d2517faa78

View File

@@ -565,7 +565,11 @@ BOOST_PYTHON_DECL void add_to_namespace(
}
namespace
namespace detail
/* Cannot be anonymous namespace:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34094
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34229
*/
{
struct bind_return
{
@@ -610,7 +614,8 @@ extern "C"
function_call(PyObject *func, PyObject *args, PyObject *kw)
{
PyObject* result = 0;
handle_exception(bind_return(result, static_cast<function*>(func), args, kw));
handle_exception(
detail::bind_return(result, static_cast<function*>(func), args, kw));
return result;
}