From febdc45ced016408a972582ca6a4786b33a292ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Sch=C3=B6pflin?= Date: Fri, 27 Sep 2002 15:48:01 +0000 Subject: [PATCH] Reenabled BOOST_NO_INCLASS_MEMBER_INITIALIZATION and added BOOST_NO_MEMBER_TEMPLATE_KEYWORD. Both are also defined on newer versions unless BOOST_STRICT_CONFIG is defined. [SVN r15531] --- include/boost/config/compiler/vacpp.hpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/include/boost/config/compiler/vacpp.hpp b/include/boost/config/compiler/vacpp.hpp index 371aae83..336fabe3 100644 --- a/include/boost/config/compiler/vacpp.hpp +++ b/include/boost/config/compiler/vacpp.hpp @@ -9,11 +9,16 @@ #if __IBMCPP__ <= 501 # define BOOST_NO_MEMBER_TEMPLATE_FRIENDS -# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION # define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS #endif -#if (__IBMCPP__ <= 502)|| !defined(BOOST_STRICT_CONFIG) +#if (__IBMCPP__ <= 502) || !defined(BOOST_STRICT_CONFIG) +// Actually the compiler supports inclass member initialization but it +// requires a definition for the class member and it doesn't recognize +// it as an integral constant expression when used as a template argument. +# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION + +# define BOOST_NO_MEMBER_TEMPLATE_KEYWORD # define BOOST_NO_INTEGRAL_INT64_T #endif