Re: [Boost-bugs] [Boost C++ Libraries] #11897: Compile failure in type_traits_detail::mp_valid_impl with CUDA 7.0

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11897: Compile failure in type_traits_detail::mp_valid_impl with CUDA 7.0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-01-08 15:05:34


#11897: Compile failure in type_traits_detail::mp_valid_impl with CUDA 7.0
-------------------------------+-------------------------
  Reporter: a.grund@… | Owner: johnmaddock
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: type_traits
   Version: Boost 1.60.0 | Severity: Showstopper
Resolution: | Keywords:
-------------------------------+-------------------------

Comment (by Alex Grund <a.grund@…>):

 Possible workaround: Add the following to the end of
 config/compiler/nvcc.hpp;


 {{{
 // A bug in version 7.0 of CUDA prevents use of variadic templates in some
 occasions
 // https://svn.boost.org/trac/boost/ticket/11897
 // This is fixed in 7.5. As the following version macro was introduced in
 7.5 an existance
 // check is enough to detect versions < 7.5
 #ifndef __CUDACC_VER__
 # define BOOST_NO_CXX11_VARIADIC_TEMPLATES
 #endif
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11897#comment:2>
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:19 UTC