Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71759 - trunk/libs/spirit/repository/example/qi
From: hartmut.kaiser_at_[hidden]
Date: 2011-05-06 07:25:47


Author: hkaiser
Date: 2011-05-06 07:25:46 EDT (Fri, 06 May 2011)
New Revision: 71759
URL: http://svn.boost.org/trac/boost/changeset/71759

Log:
Spirit: fixing keywords example for MSVC
Text files modified:
   trunk/libs/spirit/repository/example/qi/options.cpp | 5 +++--
   1 files changed, 3 insertions(+), 2 deletions(-)

Modified: trunk/libs/spirit/repository/example/qi/options.cpp
==============================================================================
--- trunk/libs/spirit/repository/example/qi/options.cpp (original)
+++ trunk/libs/spirit/repository/example/qi/options.cpp 2011-05-06 07:25:46 EDT (Fri, 06 May 2011)
@@ -11,6 +11,7 @@
 #include <boost/spirit/repository/include/qi_kwd.hpp>
 #include <boost/spirit/repository/include/qi_keywords.hpp>
 #include <boost/optional.hpp>
+#include <boost/cstdint.hpp>
 #include <iostream>
 #include <string>
 #include <cstdlib>
@@ -21,11 +22,11 @@
 // Data structure definitions
 
 // preprocessor constants
-typedef std::pair<std::string, int32_t> preprocessor_symbol;
+typedef std::pair<std::string, boost::int32_t> preprocessor_symbol;
 
 BOOST_FUSION_ADAPT_STRUCT( preprocessor_symbol,
     (std::string, first)
- (int32_t, second)
+ (boost::int32_t, second)
 )
 
 // A data structure to store our program options


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