Index: boost/test/utils/runtime/config.hpp =================================================================== --- boost/test/utils/runtime/config.hpp (revision 53058) +++ boost/test/utils/runtime/config.hpp (working copy) @@ -44,6 +44,10 @@ # endif #endif +#ifdef __SUNPRO_CC +extern int putenv(char*); +#endif + namespace boost { namespace BOOST_RT_PARAM_NAMESPACE { Index: boost/test/utils/named_params.hpp =================================================================== --- boost/test/utils/named_params.hpp (revision 53058) +++ boost/test/utils/named_params.hpp (working copy) @@ -66,7 +66,7 @@ struct nil { template -#if defined(__GNUC__) || defined(__HP_aCC) || defined(__EDG__) +#if defined(__GNUC__) || defined(__HP_aCC) || defined(__EDG__) || defined(__SUNPRO_CC) operator T() const #else operator T const&() const