id summary reporter owner description type status milestone component version severity resolution keywords cc 5283 Suspect BOOST_PYTHON_DECL missing from init_module() Roland Kay Dave Abrahams "In the following code, extracted from libs/python/src/module.cpp, I think that ""BOOST_PYTHON_DECL"" has been omitted from the declaration of init_module(...). It was present in version 1.43 of Boost and without it I get unresolved symbol errors when linking against Boost::Python. In summary, I suspect that the third line in the fragment below should read: {{{ BOOST_PYTHON_DECL PyObject* init_module(PyModuleDef& moduledef, void(*init_function)()) }}} My apologies if this has, in fact, been removed deliberately. {{{ #if PY_VERSION_HEX >= 0x03000000 PyObject* init_module(PyModuleDef& moduledef, void(*init_function)()) { return init_module_in_scope( PyModule_Create(&moduledef), init_function); } #else namespace { PyMethodDef initial_methods[] = { { 0, 0, 0, 0 } }; } BOOST_PYTHON_DECL PyObject* init_module(char const* name, void(*init_function)()) { return init_module_in_scope( Py_InitModule(const_cast(name), initial_methods), init_function); } }}}" Bugs closed To Be Determined python USE GITHUB Boost 1.46.0 Regression fixed