id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 2515,[MSVC] ambiguous symbol type_info in boost/python tests,Farid Zaripov ,Dave Abrahams,"The most of the boost/python tests are failed to compile on MSVC with Apache stdcxx library. [http://tinyurl.com/6hdez7 example 1] [http://tinyurl.com/5wywqb example 2] The reason is that header contains declaration of the: {{{ int _is_exception_typeof(const type_info &, _EXCEPTION_POINTERS *) ; }}} header is included in libs/python/test/module_tail.cpp file. The module_tail.cpp is included in other pythons tests at the end of file after introducing boost::python symbols in global namespace. That tests are compiled successfully on MSVC without stdcxx due to implicitly included thus header (before ""using namespace boost::python;"" directive). But any of the stdcxx headers are not including the (see [http://svn.boost.org/trac/boost/ticket/1599 ticket 1599]). The possible solution is explicitly include in every test, that includes module_tail.cpp. Another solution: {{{ Index: module_tail.cpp =================================================================== --- module_tail.cpp (revision 49830) +++ module_tail.cpp (working copy) @@ -13,7 +13,9 @@ # endif # ifdef _MSC_VER +# define type_info ::type_info # include // for _set_se_translator() +# undef type_info # pragma warning(push) # pragma warning(disable:4297) # pragma warning(disable:4535) }}} ",Bugs,new,Boost 1.38.0,python USE GITHUB,Boost Development Trunk,Problem,,,David Abrahams