|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r60150 - trunk/boost/concept/detail
From: john_at_[hidden]
Date: 2010-03-04 13:01:37
Author: johnmaddock
Date: 2010-03-04 13:01:36 EST (Thu, 04 Mar 2010)
New Revision: 60150
URL: http://svn.boost.org/trac/boost/changeset/60150
Log:
Fixes #3980.
Text files modified:
trunk/boost/concept/detail/has_constraints.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/concept/detail/has_constraints.hpp
==============================================================================
--- trunk/boost/concept/detail/has_constraints.hpp (original)
+++ trunk/boost/concept/detail/has_constraints.hpp 2010-03-04 13:01:36 EST (Thu, 04 Mar 2010)
@@ -21,7 +21,7 @@
template <class Model, void (Model::*)()>
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
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk