Subject: [Boost-bugs] [Boost C++ Libraries] #10763: Visual Studio 2008 incorrectly enables BOOST_HAS_PRAGMA_DETECT_MISMATCH
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-11-06 15:01:44
#10763: Visual Studio 2008 incorrectly enables BOOST_HAS_PRAGMA_DETECT_MISMATCH
------------------------------------------------+-------------------------
Reporter: Daniel Krügler <daniel.kruegler@â¦> | Owner: johnmaddock
Type: Bugs | Status: new
Milestone: To Be Determined | Component: config
Version: Boost 1.57.0 | Severity: Problem
Keywords: |
------------------------------------------------+-------------------------
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)
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10763> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:17 UTC