Boost.Wave compiling issue

Hi,
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

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
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
participants (2)
-
Edmond Gheury
-
Hartmut Kaiser