Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49708 - in trunk/boost/spirit: . home/classic home/classic/utility/impl/chset
From: joel_at_[hidden]
Date: 2008-11-12 19:37:21


Author: djowel
Date: 2008-11-12 19:37:21 EST (Wed, 12 Nov 2008)
New Revision: 49708
URL: http://svn.boost.org/trac/boost/changeset/49708

Log:
restoring version.hpp and bumping the version to 2.0
Text files modified:
   trunk/boost/spirit/home/classic/utility/impl/chset/basic_chset.hpp | 1 +
   trunk/boost/spirit/home/classic/version.hpp | 6 +++---
   trunk/boost/spirit/version.hpp | 25 +++++++++----------------
   3 files changed, 13 insertions(+), 19 deletions(-)

Modified: trunk/boost/spirit/home/classic/utility/impl/chset/basic_chset.hpp
==============================================================================
--- trunk/boost/spirit/home/classic/utility/impl/chset/basic_chset.hpp (original)
+++ trunk/boost/spirit/home/classic/utility/impl/chset/basic_chset.hpp 2008-11-12 19:37:21 EST (Wed, 12 Nov 2008)
@@ -11,6 +11,7 @@
 
 ///////////////////////////////////////////////////////////////////////////////
 #include <bitset>
+#include <climits>
 #include <boost/spirit/home/classic/utility/impl/chset/range_run.hpp>
 #include <boost/spirit/home/classic/namespace.hpp>
 

Modified: trunk/boost/spirit/home/classic/version.hpp
==============================================================================
--- trunk/boost/spirit/home/classic/version.hpp (original)
+++ trunk/boost/spirit/home/classic/version.hpp 2008-11-12 19:37:21 EST (Wed, 12 Nov 2008)
@@ -5,8 +5,8 @@
   Distributed under the Boost Software License, Version 1.0. (See accompanying
   file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 =============================================================================*/
-#if !defined(SPIRIT_VERSION_HPP)
-#define SPIRIT_VERSION_HPP
+#if !defined(SPIRIT_CLASSIC_VERSION_HPP)
+#define SPIRIT_CLASSIC_VERSION_HPP
 
 ///////////////////////////////////////////////////////////////////////////////
 //
@@ -17,7 +17,7 @@
 
 #if BOOST_VERSION < 103200
 #error "Spirit v1.8.x needs at least Boost V1.32.0 to compile successfully."
-#endif
+#endif
 
 ///////////////////////////////////////////////////////////////////////////////
 //

Modified: trunk/boost/spirit/version.hpp
==============================================================================
--- trunk/boost/spirit/version.hpp (original)
+++ trunk/boost/spirit/version.hpp 2008-11-12 19:37:21 EST (Wed, 12 Nov 2008)
@@ -6,22 +6,15 @@
   Distributed under the Boost Software License, Version 1.0. (See accompanying
   file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 =============================================================================*/
-#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_VERSION
-#define BOOST_SPIRIT_DEPRECATED_INCLUDE_VERSION
+#if !defined(SPIRIT_VERSION_NOVEMBER_13_2008_0834AM)
+#define SPIRIT_VERSION_NOVEMBER_13_2008_0834AM
 
-#include <boost/version.hpp>
-
-#if BOOST_VERSION >= 103800
-#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__)
-# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_version.hpp")
-#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__)
-# warning "This header is deprecated. Please use: boost/spirit/include/classic_version.hpp"
-#endif
-#endif
-
-#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE)
-#define BOOST_SPIRIT_USE_OLD_NAMESPACE
-#endif
-#include <boost/spirit/include/classic_version.hpp>
+///////////////////////////////////////////////////////////////////////////////
+//
+// This is the version of the current Spirit distribution
+//
+///////////////////////////////////////////////////////////////////////////////
+#define SPIRIT_VERSION 0x2000
+#define SPIRIT_PIZZA_VERSION EVERYTHING_BUT_ANCHOVIES // :-)
 
 #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