From 7ea00f059e6342cd11a9c65e9128483723d2cf18 Mon Sep 17 00:00:00 2001 From: Beman Dawes Date: Fri, 20 Sep 2013 14:39:56 +0000 Subject: [PATCH] Variadic templates are supposed to be supported by VC++ 2013 but VC++ 2013 RC variadic support is causing boost regression test failures for signals2 and several of its dependencies, so continue to define BOOST_NO_CXX11_VARIADIC_TEMPLATES. Also, use _MSC_FULL_VER < 180020827 as more conservative to distinguish the RC release from earlier releases. [SVN r85802] --- include/boost/config/compiler/visualc.hpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/include/boost/config/compiler/visualc.hpp b/include/boost/config/compiler/visualc.hpp index df61d4b6..5ff72297 100644 --- a/include/boost/config/compiler/visualc.hpp +++ b/include/boost/config/compiler/visualc.hpp @@ -43,7 +43,7 @@ # error "Compiler not supported or configured - please reconfigure" #endif -#if _MSC_VER < 1800 +#if _MSC_FULL_VER < 180020827 # define BOOST_NO_FENV_H #endif @@ -170,7 +170,7 @@ // C++11 features supported by VC++ 12 (aka 2013). // -#if _MSC_VER < 1800 +#if _MSC_FULL_VER < 180020827 # define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS # define BOOST_NO_CXX11_DELETED_FUNCTIONS # define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS @@ -179,9 +179,13 @@ # define BOOST_NO_CXX11_TEMPLATE_ALIASES # define BOOST_NO_CXX11_TRAILING_RESULT_TYPES # define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX -# define BOOST_NO_CXX11_VARIADIC_TEMPLATES #endif +// variadic templates are supposed to be supported by VC++ 12 +// but VC++ 12 RC variadic support is causing boost regression +// test failures for signals2 and several of its dependencies. +#define BOOST_NO_CXX11_VARIADIC_TEMPLATES + // C++11 features not supported by any versions #define BOOST_NO_CXX11_CHAR16_T #define BOOST_NO_CXX11_CHAR32_T