$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: john_at_[hidden]
Date: 2008-08-25 07:29:55
Author: johnmaddock
Date: 2008-08-25 07:29:55 EDT (Mon, 25 Aug 2008)
New Revision: 48373
URL: http://svn.boost.org/trac/boost/changeset/48373
Log:
Added gcc auto-detection of no typeid/rtti.
Added normalisation code for no rtti.
Text files modified: 
   trunk/boost/config/compiler/gcc.hpp |     9 +++++++++                               
   trunk/boost/config/suffix.hpp       |     7 +++++++                                 
   2 files changed, 16 insertions(+), 0 deletions(-)
Modified: trunk/boost/config/compiler/gcc.hpp
==============================================================================
--- trunk/boost/config/compiler/gcc.hpp	(original)
+++ trunk/boost/config/compiler/gcc.hpp	2008-08-25 07:29:55 EDT (Mon, 25 Aug 2008)
@@ -91,6 +91,15 @@
 #if __GNUC__ > 3 || ( __GNUC__ == 3 && __GNUC_MINOR__ >= 1 )
 #define BOOST_HAS_NRVO
 #endif
+//
+// RTTI and typeinfo detection is possible post gcc-4.3:
+//
+#if __GNUC__ * 100 + __GNUC_MINOR__ >= 403
+#  ifndef __GXX_RTTI
+#     define BOOST_NO_TYPEID
+#     define BOOST_NO_RTTI
+#  endif
+#endif
 
 //
 // C++0x features
Modified: trunk/boost/config/suffix.hpp
==============================================================================
--- trunk/boost/config/suffix.hpp	(original)
+++ trunk/boost/config/suffix.hpp	2008-08-25 07:29:55 EDT (Mon, 25 Aug 2008)
@@ -158,6 +158,13 @@
 #endif
 
 //
+// Without typeid support we have no dynamic RTTI either:
+//
+#if defined(BOOST_NO_TYPEID) && !defined(BOOST_NO_RTTI)
+#  define BOOST_NO_RTTI
+#endif
+
+//
 // If we have a standard allocator, then we have a partial one as well:
 //
 #if !defined(BOOST_NO_STD_ALLOCATOR)