Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86108 - trunk/boost/date_time
From: steveire_at_[hidden]
Date: 2013-10-01 04:43:14


Author: skelly
Date: 2013-10-01 04:43:14 EDT (Tue, 01 Oct 2013)
New Revision: 86108
URL: http://svn.boost.org/trac/boost/changeset/86108

Log:
DateTime: Remove obsolete GCC version checks.

Text files modified:
   trunk/boost/date_time/compiler_config.hpp | 9 +--------
   1 files changed, 1 insertions(+), 8 deletions(-)

Modified: trunk/boost/date_time/compiler_config.hpp
==============================================================================
--- trunk/boost/date_time/compiler_config.hpp Tue Oct 1 04:42:50 2013 (r86107)
+++ trunk/boost/date_time/compiler_config.hpp 2013-10-01 04:43:14 EDT (Tue, 01 Oct 2013) (r86108)
@@ -18,7 +18,6 @@
 // compilers. They must define this macro to use the legacy IO.
 // (defined(__BORLANDC__) && (__BORLANDC__ <= 0x0581) ) ) &&
  #if( BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT(0x581) ) \
- || BOOST_WORKAROUND( __GNUC__, < 3) \
     ) \
     && !defined(USE_DATE_TIME_PRE_1_33_FACET_IO)
 # define USE_DATE_TIME_PRE_1_33_FACET_IO
@@ -40,10 +39,6 @@
 
 // Include extensions to date_duration - comment out to remove this feature
 #define BOOST_DATE_TIME_OPTIONAL_GREGORIAN_TYPES
-// these extensions are known to cause problems with gcc295
-#if defined(__GNUC__) && (__GNUC__ < 3)
-#undef BOOST_DATE_TIME_OPTIONAL_GREGORIAN_TYPES
-#endif
 
 #if (defined(BOOST_NO_INCLASS_MEMBER_INITIALIZATION) || BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT(0x581) ) )
 #define BOOST_DATE_TIME_NO_MEMBER_INIT
@@ -79,9 +74,7 @@
 // Compilers affected are:
 // gcc295, msvc (neither with STLPort), any borland
 //
-#if ((defined(__GNUC__) && (__GNUC__ < 3)) && \
- !defined(_STLP_OWN_IOSTREAMS) ) || \
- BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT(0x581) )
+#if BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT(0x581) )
 #define BOOST_DATE_TIME_INCLUDE_LIMITED_HEADERS
 #endif
 


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