Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10793: Compilation errors in Visual Studio 2013 with /Za (disabled extensions)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-11-01 00:57:06
#10793: Compilation errors in Visual Studio 2013 with /Za (disabled extensions)
-------------------------------+------------------------------
Reporter: adam.f.badura@⦠| Owner: Lorenzo Caminiti
Type: Bugs | Status: reopened
Milestone: To Be Determined | Component: scope_exit
Version: Boost 1.65.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+------------------------------
Comment (by Scott Colcord <sacolcor@â¦>):
It looks like it can be fixed by changing {{{scope_exit.hpp}}} thusly:
{{{
#if BOOST_MSVC
# define BOOST_SCOPE_EXIT_AUX_TYPEOF_THIS_MSVC_WORKAROUND_01 1
#else
# define BOOST_SCOPE_EXIT_AUX_TYPEOF_THIS_MSVC_WORKAROUND_01 0
#endif
}}}
to:
{{{
#if BOOST_WORKAROUND(_MSC_VER, < 1910)
# define BOOST_SCOPE_EXIT_AUX_TYPEOF_THIS_MSVC_WORKAROUND_01 1
#else
# define BOOST_SCOPE_EXIT_AUX_TYPEOF_THIS_MSVC_WORKAROUND_01 0
#endif
}}}
-- Ticket URL: <https://svn.boost.org/trac10/boost/ticket/10793#comment:5> 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-11-01 01:03:03 UTC