mirror of
https://github.com/boostorg/python.git
synced 2026-01-21 17:12:22 +00:00
work around g++ (GCC) 3.4.0 20031230 (experimental) internal compiler error
[SVN r21432]
This commit is contained in:
@@ -33,11 +33,8 @@ BOOST_PYTHON_DECL void init_module(char const* name, void(*init_function)())
|
||||
if (m != 0)
|
||||
{
|
||||
// Create the current module scope
|
||||
scope current_module(
|
||||
(object(
|
||||
((borrowed_reference_t*)m)
|
||||
))
|
||||
);
|
||||
object m_obj(((borrowed_reference_t*)m));
|
||||
scope current_module(m_obj);
|
||||
|
||||
handle_exception(init_function);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user