From db4ebfca6fdfb3364b5ff980e85e7c0818429897 Mon Sep 17 00:00:00 2001 From: Glen Fernandes Date: Fri, 9 Feb 2018 07:58:30 -0500 Subject: [PATCH] Variable templates are somewhat unusable in GCC 5.1 (bug 65719) --- include/boost/config/compiler/gcc.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/config/compiler/gcc.hpp b/include/boost/config/compiler/gcc.hpp index b0e3a5ec..8296520a 100644 --- a/include/boost/config/compiler/gcc.hpp +++ b/include/boost/config/compiler/gcc.hpp @@ -285,7 +285,7 @@ #if !defined(__cpp_constexpr) || (__cpp_constexpr < 201304) # define BOOST_NO_CXX14_CONSTEXPR #endif -#if !defined(__cpp_variable_templates) || (__cpp_variable_templates < 201304) +#if (BOOST_GCC_VERSION < 50200) || !defined(__cpp_variable_templates) || (__cpp_variable_templates < 201304) # define BOOST_NO_CXX14_VARIABLE_TEMPLATES #endif