[Boost-bugs] [Boost C++ Libraries] #2242: Autodetect BOOST_NO_TYPEID, BOOST_NO_RTTI for g++ 4.3 and above

Subject: [Boost-bugs] [Boost C++ Libraries] #2242: Autodetect BOOST_NO_TYPEID, BOOST_NO_RTTI for g++ 4.3 and above
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-08-21 15:38:51


#2242: Autodetect BOOST_NO_TYPEID, BOOST_NO_RTTI for g++ 4.3 and above
------------------------------+---------------------------------------------
 Reporter: pdimov | Owner: johnmaddock
     Type: Feature Requests | Status: new
Milestone: Boost 1.37.0 | Component: config
  Version: Boost 1.36.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 g++ 4.3 and above defines !__GXX_RTTI when RTTI is on. Something like

 {{{
 #if __GNUC__ * 100 + __GNUC_MINOR__ >= 403
 #ifndef __GXX_RTTI
 #define BOOST_NO_TYPEID
 #define BOOST_NO_RTTI
 #endif
 #endif
 }}}

 ought to work.

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2242>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:58 UTC