Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r60151 - branches/release/boost/concept/detail
From: john_at_[hidden]
Date: 2010-03-04 13:03:06


Author: johnmaddock
Date: 2010-03-04 13:03:05 EST (Thu, 04 Mar 2010)
New Revision: 60151
URL: http://svn.boost.org/trac/boost/changeset/60151

Log:
Fixes #3980.
Text files modified:
   branches/release/boost/concept/detail/has_constraints.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: branches/release/boost/concept/detail/has_constraints.hpp
==============================================================================
--- branches/release/boost/concept/detail/has_constraints.hpp (original)
+++ branches/release/boost/concept/detail/has_constraints.hpp 2010-03-04 13:03:05 EST (Thu, 04 Mar 2010)
@@ -19,7 +19,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