Boost logo

Boost :

From: Gennadiy E. Rozental (rogeeff_at_[hidden])
Date: 2001-09-07 10:34:00


Hi,

I propose following change in same_traits.hpp to be able to
compile it with Solaris Forte C++ 6 u.1

Gennadiy.

cvs diff same_traits.hpp
Index: same_traits.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/type_traits/same_traits.hpp,v
retrieving revision 1.4
diff -r1.4 same_traits.hpp
23c23
< #if !defined(BOOST_COMPOSITE_TYPE_TRAITS_HPP) && defined
(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !defined(BOOST_MSVC)

---
> #if !defined(BOOST_COMPOSITE_TYPE_TRAITS_HPP) && defined
(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !defined(BOOST_MSVC) && 
(!defined(__SUNPRO_CC) || __SUNPRO_CC < 0x520)
34c34
< #ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
---
> #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) || 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