[Uml-devel] Problems compiling with flex 2.5.31

Michel Hermier michel.hermier at wanadoo.fr
Mon Apr 28 01:43:05 UTC 2003


>
> It seems to work for me if I remove
> #include "FlexLexer.h"
>
> can it be safely removed and still work with 2.5.4, 2.5.27 and fix 2.5.31?
>
> Thanks for the help
>
> Jonathan Riddell

It's seems that it is an error to include the FlexLexer.h. And it should work 
for all the branch 2.5.x at least.
As described (in the html doc ?) here:
http://www.gnu.org/manual/flex-2.5.4/html_mono/flex.html#SEC19

The C++ sample doesn't include any flex includes and it is said:
"The generated scanner includes the header file `FlexLexer.h', which defines 
the interface to two C++ classes." So the work is already done inside, and at 
the good places.

But it sounds to me that the FlexerLexer.h is not as well protected in 2.5.31 
as in the previous ones. Maybe a mail to the maintainers of flex should be 
done, to report this case.

Michel




More information about the umbrello-devel mailing list