--- libtorrent/bindings/python/src/extensions.cpp.orig 2008-10-13 16:10:23 +0400 +++ libtorrent/bindings/python/src/extensions.cpp 2008-10-13 16:11:43 +0400 @@ -14,7 +14,7 @@ using namespace boost::python; using namespace libtorrent; -namespace +namespace this_was_unnamed_namespace_but_it_triggers_bug_in_gcc_extensions_cpp { struct torrent_plugin_wrap : torrent_plugin, wrapper @@ -109,6 +109,8 @@ namespace } // namespace unnamed +using namespace this_was_unnamed_namespace_but_it_triggers_bug_in_gcc_extensions_cpp; + boost::shared_ptr create_metadata_plugin_wrapper(torrent* t) { return create_metadata_plugin(t, NULL); --- libtorrent/bindings/python/src/peer_plugin.cpp.orig 2008-10-13 16:13:24 +0400 +++ libtorrent/bindings/python/src/peer_plugin.cpp 2008-10-13 16:16:07 +0400 @@ -16,7 +16,7 @@ using namespace boost::python; using namespace libtorrent; -namespace +namespace this_was_unnamed_namespace_but_it_triggers_bug_in_gcc_peer_plugin_cpp { struct peer_plugin_wrap : peer_plugin, wrapper { @@ -272,6 +272,8 @@ namespace } // namespace unnamed +using namespace this_was_unnamed_namespace_but_it_triggers_bug_in_gcc_peer_plugin_cpp; + void bind_peer_plugin() { class_<