Ticket #1843: 0001-boost.wave-gcc-4.3-fix.patch

File 0001-boost.wave-gcc-4.3-fix.patch, 1.2 KB (added by tim blechmann <tim@…>, 15 years ago)
  • boost/wave/util/macro_helpers.hpp

    From f3892e43005f0924df87a2fc02cd6bcdabfbac8a Mon Sep 17 00:00:00 2001
    From: Tim Blechmann <tim@klingt.org>
    Date: Sat, 19 Apr 2008 00:09:01 +0200
    Subject: [PATCH] boost.wave gcc-4.3 fix
    
    ---
     boost/wave/util/macro_helpers.hpp |    3 ++-
     1 files changed, 2 insertions(+), 1 deletions(-)
    
    diff --git a/boost/wave/util/macro_helpers.hpp b/boost/wave/util/macro_helpers.hpp
    index 60fdac3..430a1f6 100644
    a b  
    1717#include <boost/wave/wave_config.hpp>
    1818#include <boost/wave/token_ids.hpp>
    1919#include <boost/wave/cpplexer/validate_universal_char.hpp>
     20#include <boost/wave/util/unput_queue_iterator.hpp>
    2021
    2122// this must occur after all of the includes and before any code appears
    2223#ifdef BOOST_HAS_ABI_HEADERS
    namespace impl {  
    259260    inline boost::wave::token_id
    260261    skip_whitespace(IteratorT &first, IteratorT const &last)
    261262    {
    262         token_id id = next_token<IteratorT>::peek(first, last, false);
     263        token_id id = boost::wave::util::impl::next_token<IteratorT>::peek(first, last, false);
    263264        if (IS_CATEGORY(id, WhiteSpaceTokenType)) {
    264265            do {
    265266                ++first;