id summary reporter owner description type status milestone component version severity resolution keywords cc 10763 Visual Studio 2008 incorrectly enables BOOST_HAS_PRAGMA_DETECT_MISMATCH Daniel Krügler John Maddock "The configuration file boost/config/compiler/visualc.hpp incorrectly enables support for pragma detect_mismatch for Visual Studio 2008 as of the lines 107-109: {{{ #if _MSC_VER >= 1500 // 150X == VC++ 9.0 # define BOOST_HAS_PRAGMA_DETECT_MISMATCH #endif }}} This has the effect that compliation against MSVC++ 9.0 leads to a series of warnings such as: {{{ boost/type_index.hpp(37) : warning C4068: unknown pragma }}} According to my experience - and covered by the information provided here [The following should be interpreted as an URL]: http boost.2283326.n4.nabble.com Boost-and-Microsoft-s-SECURE-SCL-td3025203.html the new pragma exists since Visual Studio 2010 (_MSC_VER == 1600)" Bugs closed To Be Determined config Boost 1.57.0 Problem fixed