From 2131184c6e1ba516735b4d8f2da6e21f466ce197 Mon Sep 17 00:00:00 2001 From: Jens Maurer Date: Sun, 4 Nov 2001 22:16:45 +0000 Subject: [PATCH] SunPro 5.3 doesn't have enough partial specialization to compile shared_ptr. [SVN r11574] --- include/boost/config/compiler/sunpro_cc.hpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/include/boost/config/compiler/sunpro_cc.hpp b/include/boost/config/compiler/sunpro_cc.hpp index ad4c1c93..2930926f 100644 --- a/include/boost/config/compiler/sunpro_cc.hpp +++ b/include/boost/config/compiler/sunpro_cc.hpp @@ -21,15 +21,18 @@ // wrong, especially where the value is computed // from other constants (J Maddock 6th May 2001) # define BOOST_NO_INCLASS_MEMBER_INITIALIZATION - // although sunpro 5.2 supports the syntax for +# endif + +# if (__SUNPRO_CC <= 0x530) || !defined(BOOST_STRICT_CONFIG) + // Although sunpro 5.2 supports the syntax for // partial specialization, it often seems to // bind to the wrong specialization. Better // to disable it until suppport becomes more stable // (J Maddock 6th May 2001). + // SunPro 5.3 has better support for partial specialization, + // but breaks when compiling std::less > + // (Jens Maurer 4 Nov 2001). # define BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION -# endif - -# if (__SUNPRO_CC <= 0x530) || !defined(BOOST_STRICT_CONFIG) // integral constant expressions with 64 bit numbers fail # define BOOST_NO_INTEGRAL_INT64_T # endif