Boost logo

Boost-Commit :

From: hartmut.kaiser_at_[hidden]
Date: 2008-05-31 10:52:49


Author: hkaiser
Date: 2008-05-31 10:52:48 EDT (Sat, 31 May 2008)
New Revision: 45978
URL: http://svn.boost.org/trac/boost/changeset/45978

Log:
Spirit.Lex: And another gcc 4.3 problem.
Text files modified:
   trunk/boost/spirit/home/lex/lexer/lexertl/lexertl_functor.hpp | 3 ++-
   trunk/boost/spirit/home/lex/lexer/lexertl/lexertl_static_functor.hpp | 3 ++-
   2 files changed, 4 insertions(+), 2 deletions(-)

Modified: trunk/boost/spirit/home/lex/lexer/lexertl/lexertl_functor.hpp
==============================================================================
--- trunk/boost/spirit/home/lex/lexer/lexertl/lexertl_functor.hpp (original)
+++ trunk/boost/spirit/home/lex/lexer/lexertl/lexertl_functor.hpp 2008-05-31 10:52:48 EDT (Sat, 31 May 2008)
@@ -42,6 +42,7 @@
         template <typename Iterator>
         struct Data<Iterator, mpl::false_, mpl::false_>
         {
+ typedef std::size_t state_type;
             typedef iterator_range<Iterator> iterpair_type;
             typedef typename
                 boost::detail::iterator_traits<Iterator>::value_type
@@ -90,7 +91,7 @@
         {
             typedef Data<Iterator, mpl::false_, mpl::false_> base_type;
 
- typedef std::size_t state_type;
+ typedef typename base_type::state_type state_type;
             typedef typename base_type::char_type char_type;
             typedef
                 typename base_type::semantic_actions_type

Modified: trunk/boost/spirit/home/lex/lexer/lexertl/lexertl_static_functor.hpp
==============================================================================
--- trunk/boost/spirit/home/lex/lexer/lexertl/lexertl_static_functor.hpp (original)
+++ trunk/boost/spirit/home/lex/lexer/lexertl/lexertl_static_functor.hpp 2008-05-31 10:52:48 EDT (Sat, 31 May 2008)
@@ -42,6 +42,7 @@
         template <typename Iterator>
         struct Data<Iterator, mpl::false_, mpl::false_>
         {
+ typedef std::size_t state_type;
             typedef iterator_range<Iterator> iterpair_type;
             typedef typename
                 boost::detail::iterator_traits<Iterator>::value_type
@@ -91,7 +92,7 @@
         {
             typedef Data<Iterator, mpl::false_, mpl::false_> base_type;
 
- typedef std::size_t state_type;
+ typedef typename base_type::state_type state_type;
             typedef typename base_type::char_type char_type;
             typedef
                 typename base_type::semantic_actions_type


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