Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2007-09-10 13:18:19


Author: johnmaddock
Date: 2007-09-10 13:18:16 EDT (Mon, 10 Sep 2007)
New Revision: 39183
URL: http://svn.boost.org/trac/boost/changeset/39183

Log:
Added new macros def's that are needed by the various additions that have been added to Boost.Config.
Text files modified:
   trunk/boost/config/compiler/borland.hpp | 2 ++
   trunk/boost/config/compiler/gcc.hpp | 6 ++++++
   trunk/boost/config/compiler/intel.hpp | 5 ++++-
   trunk/boost/config/compiler/sunpro_cc.hpp | 6 ++++++
   trunk/boost/config/compiler/visualc.hpp | 2 ++
   5 files changed, 20 insertions(+), 1 deletions(-)

Modified: trunk/boost/config/compiler/borland.hpp
==============================================================================
--- trunk/boost/config/compiler/borland.hpp (original)
+++ trunk/boost/config/compiler/borland.hpp 2007-09-10 13:18:16 EDT (Mon, 10 Sep 2007)
@@ -83,6 +83,8 @@
 # define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
 # define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
 # define BOOST_NO_IS_ABSTRACT
+# define BOOST_NO_FUNCTION_TYPE_SPECIALIZATIONS
+# define BOOST_NO_TWO_PHASE_NAME_LOOKUP
 
 # ifdef NDEBUG
       // fix broken <cstring> so that Boost.test works:

Modified: trunk/boost/config/compiler/gcc.hpp
==============================================================================
--- trunk/boost/config/compiler/gcc.hpp (original)
+++ trunk/boost/config/compiler/gcc.hpp 2007-09-10 13:18:16 EDT (Mon, 10 Sep 2007)
@@ -55,6 +55,12 @@
 # define BOOST_NO_IS_ABSTRACT
 # endif
 #endif
+#if __GNUC__ < 4
+//
+// All problems to gcc-3.x and earlier here:
+//
+#define BOOST_NO_TWO_PHASE_NAME_LOOKUP
+#endif
 
 #ifndef __EXCEPTIONS
 # define BOOST_NO_EXCEPTIONS

Modified: trunk/boost/config/compiler/intel.hpp
==============================================================================
--- trunk/boost/config/compiler/intel.hpp (original)
+++ trunk/boost/config/compiler/intel.hpp 2007-09-10 13:18:16 EDT (Mon, 10 Sep 2007)
@@ -99,7 +99,10 @@
 # define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
 # endif
 #endif
-
+#if (defined(__GNUC__) && (__GNUC__ < 4)) || defined(_WIN32)
+// GCC or VC emulation:
+#define BOOST_NO_TWO_PHASE_NAME_LOOKUP
+#endif
 //
 // Verify that we have actually got BOOST_NO_INTRINSIC_WCHAR_T
 // set correctly, if we don't do this now, we will get errors later

Modified: trunk/boost/config/compiler/sunpro_cc.hpp
==============================================================================
--- trunk/boost/config/compiler/sunpro_cc.hpp (original)
+++ trunk/boost/config/compiler/sunpro_cc.hpp 2007-09-10 13:18:16 EDT (Mon, 10 Sep 2007)
@@ -69,6 +69,12 @@
 # define BOOST_NO_IS_ABSTRACT
 # endif
 
+//
+// Issues that effect all known versions:
+//
+#define BOOST_NO_TWO_PHASE_NAME_LOOKUP
+
+
 #define BOOST_COMPILER "Sun compiler version " BOOST_STRINGIZE(__SUNPRO_CC)
 
 //

Modified: trunk/boost/config/compiler/visualc.hpp
==============================================================================
--- trunk/boost/config/compiler/visualc.hpp (original)
+++ trunk/boost/config/compiler/visualc.hpp 2007-09-10 13:18:16 EDT (Mon, 10 Sep 2007)
@@ -56,6 +56,7 @@
 # define BOOST_NO_SFINAE
 # define BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS
 # define BOOST_NO_IS_ABSTRACT
+# define BOOST_NO_FUNCTION_TYPE_SPECIALIZATIONS
 // TODO: what version is meant here? Have there really been any fixes in cl 12.01 (as e.g. shipped with eVC4)?
 # if (_MSC_VER > 1200)
 # define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS
@@ -71,6 +72,7 @@
 
 #if _MSC_VER <= 1400 // 1400 == VC++ 8.0
 # define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
+# define BOOST_NO_TWO_PHASE_NAME_LOOKUP
 #endif
 
 #ifndef _NATIVE_WCHAR_T_DEFINED


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk