Ticket #3980: changeset_r60147.diff

File changeset_r60147.diff, 633 bytes (added by Denis Taniguchi <denis.taniguchi@…>, 13 years ago)
  • boost/concept/detail/has_constraints.hpp

     
    2121  template <class Model, void (Model::*)()>
    2222  struct wrap_constraints {};
    2323   
    24 #if BOOST_WORKAROUND(__SUNPRO_CC, <= 0x580)
     24#if BOOST_WORKAROUND(__SUNPRO_CC, <= 0x580) || __CUDACC__
    2525  // Work around the following bogus error in Sun Studio 11, by
    2626  // turning off the has_constraints function entirely:
    2727  //    Error: complex expression not allowed in dependent template