diff --git a/include/boost/config/compiler/comeau.hpp b/include/boost/config/compiler/comeau.hpp index 78215f73..50e85931 100644 --- a/include/boost/config/compiler/comeau.hpp +++ b/include/boost/config/compiler/comeau.hpp @@ -14,7 +14,7 @@ #include "boost/config/compiler/common_edg.hpp" -#if (__COMO_VERSION__ <= 4245) || !defined(BOOST_STRICT_CONFIG) +#if (__COMO_VERSION__ <= 4245) # ifdef _WIN32 # define BOOST_NO_SWPRINTF @@ -27,6 +27,10 @@ # endif # endif +#if (__COMO_VERSION__ <= 4303) || !defined(BOOST_STRICT_CONFIG) +# define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL +#endif + // Void returns don't work when emulating VC 6 (Peter Dimov) # if defined(_MSC_VER) && (_MSC_VER == 1200) diff --git a/include/boost/config/compiler/compaq_cxx.hpp b/include/boost/config/compiler/compaq_cxx.hpp index a52e66a2..3c0c6b7f 100644 --- a/include/boost/config/compiler/compaq_cxx.hpp +++ b/include/boost/config/compiler/compaq_cxx.hpp @@ -15,5 +15,6 @@ // versions check: // Nothing to do here? +# define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL