From 8c1f422a49d82822ada3a65e2c00250c66a6c288 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaakko=20J=C3=A4rvi?= Date: Wed, 3 Dec 2003 21:04:44 +0000 Subject: [PATCH] refined BOOST_NO_SFINAE conditions based on Doug Gregor's comments [SVN r21127] --- include/boost/config/compiler/borland.hpp | 3 +++ include/boost/config/compiler/common_edg.hpp | 1 + include/boost/config/compiler/sunpro_cc.hpp | 1 + 3 files changed, 5 insertions(+) diff --git a/include/boost/config/compiler/borland.hpp b/include/boost/config/compiler/borland.hpp index d33dd25a..eeacc8be 100644 --- a/include/boost/config/compiler/borland.hpp +++ b/include/boost/config/compiler/borland.hpp @@ -25,6 +25,9 @@ # define BOOST_NO_CV_VOID_SPECIALIZATIONS # define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS # define BOOST_NO_DEDUCED_TYPENAME +#endif + +#if (__BORLANDC__ <= 0x564) # define BOOST_NO_SFINAE #endif diff --git a/include/boost/config/compiler/common_edg.hpp b/include/boost/config/compiler/common_edg.hpp index 9cff8e04..c7c0b56e 100644 --- a/include/boost/config/compiler/common_edg.hpp +++ b/include/boost/config/compiler/common_edg.hpp @@ -19,6 +19,7 @@ #if (__EDG_VERSION__ <= 238) # define BOOST_NO_INTEGRAL_INT64_T +# define BOOST_NO_SFINAE #endif #if (__EDG_VERSION__ <= 240) diff --git a/include/boost/config/compiler/sunpro_cc.hpp b/include/boost/config/compiler/sunpro_cc.hpp index a4c37040..0713e6d9 100644 --- a/include/boost/config/compiler/sunpro_cc.hpp +++ b/include/boost/config/compiler/sunpro_cc.hpp @@ -62,6 +62,7 @@ // see http://lists.boost.org/MailArchives/boost/msg47184.php // and http://lists.boost.org/MailArchives/boost/msg47220.php # define BOOST_NO_INCLASS_MEMBER_INITIALIZATION +# define BOOST_NO_SFINAE # endif #define BOOST_COMPILER "Sun compiler version " BOOST_STRINGIZE(__SUNPRO_CC)