Opened 12 years ago

Closed 12 years ago

#4235 closed Bugs (fixed)

spirit::lex::lexertl::data::lookahead: Incorrect name lookup for next()

Reported by: anonymous Owned by: Hartmut Kaiser
Milestone: Boost 1.43.0 Component: spirit
Version: Boost 1.43.0 Severity: Problem
Keywords: Cc:

Description

Hello Spirit Team,

In spirit/home/lex/lexer/lexertl/functor_data.hpp, the call to next() inside data::lookahead() does not compile on gcc 4.3.3. Since the function is not a template, argument-dependent lookup does not search the base template class, and the call apparently resolves to some other function, resulting in weird error messages.

This quick fix works: return id == this->next(end, unique_id);

Thanks and keep up the good work!

Change History (2)

comment:1 by anonymous, 12 years ago

Owner: changed from Joel de Guzman to Hartmut Kaiser

comment:2 by Hartmut Kaiser, 12 years ago

Resolution: fixed
Status: newclosed

(In [62084]) Spirit: fixed #4235 (spirit::lex::lexertl::data::lookahead: Incorrect name lookup for next())

Note: See TracTickets for help on using tickets.