[Boost-bugs] [Boost C++ Libraries] #10686: Boost.Preprocessor VARIADICS and VARIADICS_MSVC defined incorrectly under MSVC12

Subject: [Boost-bugs] [Boost C++ Libraries] #10686: Boost.Preprocessor VARIADICS and VARIADICS_MSVC defined incorrectly under MSVC12
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-10-22 23:38:24


#10686: Boost.Preprocessor VARIADICS and VARIADICS_MSVC defined incorrectly under
MSVC12
------------------------------+---------------------------
 Reporter: iFreilicht | Owner: no-maintainer
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: preprocessor
  Version: Boost 1.54.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------
 In boost/preprocessor/config.hpp:line81 there is a check whether
 {{{__EDG__}}} is defined or not.
 If it isn't, and the version of MSVC is higher than 1400, the macros
 {{{BOOST_PP_VARIADICS}}} and {{{BOOST_PP_VARIADICS_MSVC}}} are defined to
 be 1.

 But, with VisualStudio 2013 and MSVC12, {{{__EDG__}}} is defined to be 1,
 which of course breaks this part of the header, rendering variadic macros
 unusable.

 The workaround is of course to define both {{{BOOST_PP_VARIADICS}}} and
 {{{BOOST_PP_VARIADICS_MSVC}}} before including any Boost.Preprocessor
 related files.

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