Boost logo

Boost :

From: Gennadiy E. Rozental (rogeeff_at_[hidden])
Date: 2001-09-07 11:18:32


Hi,

I propose following change in cv_traits_test.cpp to be able to
compile it with Solaris Forte C++ 6 u.1 and extend list of test

Gennadiy.

cvs diff cv_traits_test.cpp
Index: cv_traits_test.cpp
===================================================================
RCS
file: /cvsroot/boost/boost/libs/type_traits/tests/cv_traits_test.cpp,v
retrieving revision 1.5
diff -r1.5 cv_traits_test.cpp
30c30
< #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !defined
(BOOST_MSVC)

---
> #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !defined
(BOOST_MSVC) || defined( __SUNPRO_CC) && __SUNPRO_CC >= 0x520
38a39,40
>    value_test(false, boost::is_const<volatile int&>::value)
>    value_test(false, boost::is_const<const volatile int&>::value)
48c50
< #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !defined
(BOOST_MSVC)
---
> #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !defined
(BOOST_MSVC) || defined( __SUNPRO_CC) && __SUNPRO_CC >= 0x520

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk