From 1f226e2dc9af4c6c9f017533c40160ce088425ad Mon Sep 17 00:00:00 2001 From: John Maddock Date: Thu, 4 Mar 2010 18:03:05 +0000 Subject: [PATCH] Fixes #3980. [SVN r60151] --- include/boost/concept/detail/has_constraints.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 include/boost/concept/detail/has_constraints.hpp diff --git a/include/boost/concept/detail/has_constraints.hpp b/include/boost/concept/detail/has_constraints.hpp old mode 100755 new mode 100644 index 3112b55..9191181 --- a/include/boost/concept/detail/has_constraints.hpp +++ b/include/boost/concept/detail/has_constraints.hpp @@ -19,7 +19,7 @@ namespace detail template struct wrap_constraints {}; -#if BOOST_WORKAROUND(__SUNPRO_CC, <= 0x580) +#if BOOST_WORKAROUND(__SUNPRO_CC, <= 0x580) || defined(__CUDACC__) // Work around the following bogus error in Sun Studio 11, by // turning off the has_constraints function entirely: // Error: complex expression not allowed in dependent template