From 66a206af29c81f6db03813a49e09a3c74d2464bc Mon Sep 17 00:00:00 2001 From: John Maddock Date: Tue, 8 May 2001 11:08:12 +0000 Subject: [PATCH] sun 5.1 config fixes - see comments for details [SVN r10057] --- include/boost/config.hpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/include/boost/config.hpp b/include/boost/config.hpp index f9433181..d27d15fd 100644 --- a/include/boost/config.hpp +++ b/include/boost/config.hpp @@ -389,6 +389,17 @@ # define BOOST_NO_SLIST # define BOOST_NO_HASH # define BOOST_NO_STD_ITERATOR_TRAITS + // although sunpro 5.1 supports the syntax for + // inline initialization it often gets the value + // wrong, especially where the value is computed + // from other constants (J Maddock 6th May 2001) +# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION + // although sunpro 5.1 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). +# define BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION # endif # if __SUNPRO_CC <= 0x500 # define BOOST_NO_MEMBER_TEMPLATES @@ -579,3 +590,5 @@ namespace std { + +