Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86122 - trunk/boost/tr1/detail
From: steveire_at_[hidden]
Date: 2013-10-01 05:53:42


Author: skelly
Date: 2013-10-01 05:53:42 EDT (Tue, 01 Oct 2013)
New Revision: 86122
URL: http://svn.boost.org/trac/boost/changeset/86122

Log:
TR1: Remove obsolete GCC version checks.

Text files modified:
   trunk/boost/tr1/detail/config_all.hpp | 10 ++--------
   1 files changed, 2 insertions(+), 8 deletions(-)

Modified: trunk/boost/tr1/detail/config_all.hpp
==============================================================================
--- trunk/boost/tr1/detail/config_all.hpp Tue Oct 1 05:53:25 2013 (r86121)
+++ trunk/boost/tr1/detail/config_all.hpp 2013-10-01 05:53:42 EDT (Tue, 01 Oct 2013) (r86122)
@@ -89,15 +89,13 @@
 # elif defined(_CRAYC)
 # define BOOST_TR1_STD_HEADER(name) <../include/name>
 
-# elif defined(__GNUC__) && __GNUC__ >= 3
+# elif defined(__GNUC__)
 # if defined(BOOST_TR1_GCC_INCLUDE_PATH)
 # define BOOST_TR1_STD_HEADER(name) <../BOOST_TR1_GCC_INCLUDE_PATH/name>
 # elif (defined(__FreeBSD__))
 # define BOOST_TR1_STD_HEADER(name) <../__GNUC__.__GNUC_MINOR__/name>
-# elif ( (__GNUC__ == 3 ) && ((__GNUC_MINOR__ == 0) || ((__GNUC_MINOR__ < 3) && defined(__APPLE_CC__))))
-# define BOOST_TR1_STD_HEADER(name) <../g++-v3/name>
 # else
-# if ( ((__GNUC__ == 3 ) && (__GNUC_MINOR__ >= 3)) && (defined(__APPLE_CC__) || defined(__CYGWIN__)))
+# if ( (__GNUC__ == 3) && (defined(__APPLE_CC__) || defined(__CYGWIN__)))
 # define BOOST_TR1_STD_HEADER(name) <../c++/name>
 # elif ((__GLIBCXX__ == 20050421) && defined(__APPLE_CC__))
          // Some Darwin tools fix libstdc++ at 4.0.0 irrespective of the actual
@@ -158,10 +156,6 @@
 # define BOOST_TR1_NO_CONFIG_ALL_RECURSION
 # endif
 # include_next <utility>
-# if (__GNUC__ < 3)
-# include_next <algorithm>
-# include_next <iterator>
-# endif
 # ifdef BOOST_TR1_NO_CONFIG_ALL_RECURSION
 # undef BOOST_TR1_NO_CONFIG_ALL_RECURSION
 # undef BOOST_TR1_NO_RECURSION


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