Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86387 - trunk/boost/spirit/home/classic/core
From: kaballo86_at_[hidden]
Date: 2013-10-21 20:10:55


Author: aberge
Date: 2013-10-21 20:10:55 EDT (Mon, 21 Oct 2013)
New Revision: 86387
URL: http://svn.boost.org/trac/boost/changeset/86387

Log:
Restored check for unsupported compilers

Text files modified:
   trunk/boost/spirit/home/classic/core/config.hpp | 5 ++++-
   1 files changed, 4 insertions(+), 1 deletions(-)

Modified: trunk/boost/spirit/home/classic/core/config.hpp
==============================================================================
--- trunk/boost/spirit/home/classic/core/config.hpp Mon Oct 21 19:11:34 2013 (r86386)
+++ trunk/boost/spirit/home/classic/core/config.hpp 2013-10-21 20:10:55 EDT (Mon, 21 Oct 2013) (r86387)
@@ -48,7 +48,10 @@
 // pages and pages of compiler error messages.
 //
 /////////////////////////////////////////////////////////////////////////////////
-#if (defined(__BORLANDC__) && (__BORLANDC__ <= 0x570))
+#if (defined(BOOST_MSVC) && (BOOST_MSVC < 1310)) \
+ || (defined(__BORLANDC__) && (__BORLANDC__ <= 0x570)) \
+ || (defined(__GNUC__) && (__GNUC__ < 3)) \
+ || (defined(__GNUC__) && (__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
 # error "Compiler not supported. See note in <boost/spirit/core/config.hpp>"
 #else
 // Pass... Compiler supported.


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