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 , 12 years ago
Owner: | changed from | to
---|
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [62084]) Spirit: fixed #4235 (spirit::lex::lexertl::data::lookahead: Incorrect name lookup for next())