From dd0b9c84ca75b0c1a61ea47ca7f10a5929e6c57d Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sun, 25 May 2003 10:53:26 +0000 Subject: [PATCH] Added support for BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE [SVN r18533] --- include/boost/config/compiler/borland.hpp | 1 + include/boost/config/compiler/gcc.hpp | 4 ++++ include/boost/config/compiler/visualc.hpp | 1 + 3 files changed, 6 insertions(+) diff --git a/include/boost/config/compiler/borland.hpp b/include/boost/config/compiler/borland.hpp index b25bbd2a..fc2b98b7 100644 --- a/include/boost/config/compiler/borland.hpp +++ b/include/boost/config/compiler/borland.hpp @@ -33,6 +33,7 @@ # define BOOST_NO_USING_TEMPLATE # define BOOST_BCB_PARTIAL_SPECIALIZATION_BUG # define BOOST_NO_TEMPLATE_TEMPLATES +# define BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE // we shouldn't really need this - but too many things choke // without it, this needs more investigation: # define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS diff --git a/include/boost/config/compiler/gcc.hpp b/include/boost/config/compiler/gcc.hpp index 32a1599e..ec532759 100644 --- a/include/boost/config/compiler/gcc.hpp +++ b/include/boost/config/compiler/gcc.hpp @@ -28,6 +28,10 @@ # define BOOST_NO_OPERATORS_IN_NAMESPACE # endif +# if __GNUC__ < 3 +# define BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE +# endif + #ifndef __EXCEPTIONS # define BOOST_NO_EXCEPTIONS #endif diff --git a/include/boost/config/compiler/visualc.hpp b/include/boost/config/compiler/visualc.hpp index 845ab7c9..3bdc7cc9 100644 --- a/include/boost/config/compiler/visualc.hpp +++ b/include/boost/config/compiler/visualc.hpp @@ -33,6 +33,7 @@ # define BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP # define BOOST_NO_INTEGRAL_INT64_T # define BOOST_NO_DEDUCED_TYPENAME +# define BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE // VC++ 6/7 has member templates but they have numerous problems including // cases of silent failure, so for safety we define: