|
Boost Users : |
From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2006-09-19 21:14:32
Edmond Gheury wrote:
> when trying to compile Boost.Wave (1.33.1) on AIX with VACPP
> 6. I got an error located in the file
> \boost\wave\cpplexer\re2clex\cpp_re2c_lexer.hpp, line 307, i.e.
>
> lexer<IteratorT, PositionT> lexer;
>
> First, it seems strange that a variable name matches a type
> name (and that's what's teeling the error message). When I
> replace that variable name by "lexer_"
> and its three remaining occurences in the "lex_functor"
> class, there's no more errors.
That's completely legal C++. But if your compiler complains I certainly will
change it.
Regards Hartmut
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net