From d9332d3fa30e3760427a34f27e55fcfd3163d9eb Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Thu, 15 Jun 2017 17:53:14 +0100 Subject: [PATCH] Restrict last fix to CUDA 8 only - other versions are apparently unaffected. --- include/boost/config/compiler/nvcc.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/boost/config/compiler/nvcc.hpp b/include/boost/config/compiler/nvcc.hpp index 283b7803..7729d2c2 100644 --- a/include/boost/config/compiler/nvcc.hpp +++ b/include/boost/config/compiler/nvcc.hpp @@ -42,7 +42,9 @@ // // And this one effects the NVCC front end: // -#define BOOST_NO_CXX11_NOEXCEPT +#if (__CUDACC_VER__ >= 80000) && (__CUDACC_VER__ < 80100) +# define BOOST_NO_CXX11_NOEXCEPT +#endif #endif