Boost C++ Libraries: Ticket #6140: error: "MSVC_WORKAROUND_GUARD" is not defined https://svn.boost.org/trac10/ticket/6140 <pre class="wiki">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 </pre><p> There is a problem in boost/parameter/aux_/unwrap_cv_reference.hpp at line 47. It contains the following code: </p> <pre class="wiki">#if BOOST_WORKAROUND(MSVC, == 1200) </pre><p> 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: </p> <pre class="wiki">#if BOOST_WORKAROUND(BOOST_MSVC, == 1200) </pre><p> 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. </p> <p> Should you need more information, just ping me. </p> <p> Ivo Raisr </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6140 Trac 1.4.3 Ben Brian <bb51@…> Sun, 05 Feb 2012 04:33:03 GMT cc set https://svn.boost.org/trac10/ticket/6140#comment:1 https://svn.boost.org/trac10/ticket/6140#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">bb51@…</span> added </li> </ul> <p> I also get this error on OS X Lion with GCC 4.2.1 and Boost 1.48. </p> Ticket