[Boost-bugs] [Boost C++ Libraries] #2935: _MSC_FULL_VER has only 8 digits on some recent version of MSVC

Subject: [Boost-bugs] [Boost C++ Libraries] #2935: _MSC_FULL_VER has only 8 digits on some recent version of MSVC
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-04-10 23:03:36


#2935: _MSC_FULL_VER has only 8 digits on some recent version of MSVC
---------------------------------------+------------------------------------
 Reporter: Onverra <onverra_at_[hidden]> | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: Boost 1.39.0 | Component: type_traits
  Version: Boost 1.38.0 | Severity: Regression
 Keywords: |
---------------------------------------+------------------------------------
 Some recent version of Microsoft Visual C++ Compiler still has only 8
 digits for _MSC_FULL_VER. In this case, intrinsics compiler are not
 activated and some traits (like is_pod) are broken.

 To fix it, I suggest to introduce the macro BOOST_MSVC_FULL. Its value is
 normalized. The code is inspired from http://www.crystalclearsoftware.com
 /cgi-bin/boost_wiki/wiki.pl?BoostConfig (search for _MSC_FULL_VER)

 The patch include change for all librairies, but I tested it only on
 type_traits library. If such patch is not possible, I would suggest to, at
 least, fix the way intrinsics are activated on Visual C++.

 Thanks

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2935>
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:00 UTC