Ticket #13152: boost.patch
File boost.patch, 896 bytes (added by , 5 years ago) |
---|
-
usr/include/boost/config/compiler/nvcc.hpp
19 19 // https://svn.boost.org/trac/boost/ticket/11897 20 20 // This is fixed in 7.5. As the following version macro was introduced in 7.5 an existance 21 21 // check is enough to detect versions < 7.5 22 #if !defined(__CUDACC_VER_ _) || (__CUDACC_VER__ < 70500)22 #if !defined(__CUDACC_VER_MAJOR__) || (__CUDACC_VER_MAJOR__ < 7) || ((__CUDACC_VER_MAJOR__ == 7) && (__CUDACC_VER_MINOR__ < 5)) 23 23 # define BOOST_NO_CXX11_VARIADIC_TEMPLATES 24 24 #endif 25 25 // The same bug is back again in 8.0: 26 #if (__CUDACC_VER_ _ > 80000) && (__CUDACC_VER__ < 80100)26 #if (__CUDACC_VER_MAJOR__ == 8) && (__CUDACC_VER_MINOR__ < 1) 27 27 # define BOOST_NO_CXX11_VARIADIC_TEMPLATES 28 28 #endif 29 29 // Most recent CUDA (8.0) has no constexpr support in msvc mode: