id summary reporter owner description type status milestone component version severity resolution keywords cc 4902 strange auto_link behaviour with --layout=system & defined BOOST_AUTO_LINK_NOMANGLE under vc9.0 kopylov@… Beman Dawes "Env: Visual Studio 9.0.30729.1 SP Boost built with --layout=system in user code: {{{ #define BOOST_AUTO_LINK_NOMANGLE 1 #define BOOST_LIB_DIAGNOSTIC #include }}} in auto_link.hpp I made a little change in pragma message to clarify what happens: {{{ #ifdef BOOST_AUTO_LINK_TAGGED # pragma commentcomment(lib, BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT "".lib"") # ifdef BOOST_LIB_DIAGNOSTIC # pragma message (""Linking to lib file(1): "" BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) ""-"" BOOST_LIB_TOOLSET BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT ""-"" BOOST_LIB_VERSION "".lib"") # endif #elif defined(BOOST_AUTO_LINK_NOMANGLE) # pragma comment(lib, BOOST_STRINGIZE(BOOST_LIB_NAME) "".lib"") # ifdef BOOST_LIB_DIAGNOSTIC # pragma message (""Linking to lib file(2): "" BOOST_STRINGIZE(BOOST_LIB_NAME) "".lib"") # endif #else # pragma comment(lib, BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) ""-"" BOOST_LIB_TOOLSET BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT ""-"" BOOST_LIB_VERSION "".lib"") # ifdef BOOST_LIB_DIAGNOSTIC # pragma message (""Linking to lib file(3): "" BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) ""-"" BOOST_LIB_TOOLSET BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT ""-"" BOOST_LIB_VERSION "".lib"") # endif #endif }}} then I get the compiler output: {{{ 1>Linking to lib file(2): boost_filesystem.lib 1>Linking to lib file(3): libboost_system-vc90-mt-gd-1_44.lib }}} Looks like the ""else"" preprocessor section is executed." Bugs closed To Be Determined filesystem Boost 1.44.0 Problem fixed