[Boost-bugs] [Boost C++ Libraries] #6140: error: "MSVC_WORKAROUND_GUARD" is not defined

Subject: [Boost-bugs] [Boost C++ Libraries] #6140: error: "MSVC_WORKAROUND_GUARD" is not defined
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-18 11:27:37


#6140: error: "MSVC_WORKAROUND_GUARD" is not defined
-----------------------------------------+----------------------------------
 Reporter: Ivo Raisr <ivosh@…> | Owner: danielw
     Type: Bugs | Status: new
Milestone: Boost 1.49.0 | Component: parameter
  Version: Boost 1.47.0 | Severity: Problem
 Keywords: |
-----------------------------------------+----------------------------------
 {{{
 boost/parameter/aux_/unwrap_cv_reference.hpp:47:1: error:
 "MSVC_WORKAROUND_GUARD" is not defined
 boost/parameter/aux_/unwrap_cv_reference.hpp:47:1: error: "MSVC" is not
 defined
 }}}

 There is a problem in boost/parameter/aux_/unwrap_cv_reference.hpp at line
 47. It contains the following code:
 {{{
 #if BOOST_WORKAROUND(MSVC, == 1200)
 }}}

 but preprocessing fails with the errors above.
 I checked all boost header files and even documentation for
 boost/detail/workaround.hpp says, that correct form must be:
 {{{
 #if BOOST_WORKAROUND(BOOST_MSVC, == 1200)
 }}}

 After this change, preprocessing is ok.
 There are no other occurrences of this bug in boost 1.47.0.
 This bug is present also in boost 1.48.0.

 Should you need more information, just ping me.

 Ivo Raisr

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