|
Boost-Commit : |
From: rwgk_at_[hidden]
Date: 2007-11-26 15:46:28
Author: rwgk
Date: 2007-11-26 15:46:28 EST (Mon, 26 Nov 2007)
New Revision: 41404
URL: http://svn.boost.org/trac/boost/changeset/41404
Log:
g++ 4.3.0 compatibility (4.3.0 20071125 (experimental))
Text files modified:
trunk/libs/python/src/object/function.cpp | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
Modified: trunk/libs/python/src/object/function.cpp
==============================================================================
--- trunk/libs/python/src/object/function.cpp (original)
+++ trunk/libs/python/src/object/function.cpp 2007-11-26 15:46:28 EST (Mon, 26 Nov 2007)
@@ -565,7 +565,11 @@
}
-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 @@
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;
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk