Thanks to all with their good advice. They are greatly appreciated.
The solution I finally came up with was to get a version of FLEX which
properly does it’s setup shtuff. and doesn’t employ flex to do the build.
The trouble version of FLEX for me was 2.5.4a. I’m still not sure why the
install make file uses flex to build some of the contribution “.C” files. I
wonder if I have some kind of beta test version here, or some other kind of
strange not quite ready for prime time shtuff. Who knows.
The version of FLEX I found that worked for me is: 2.5.2
The version of LEX that comes with QNX is still a looser (I mean this in the
nicest possible way), but there’s not much I can do about that.
Thanks again, and best regards
Steve Shumway <email@example.com> wrote in message
Has anyone noticed that there seems to be a bug in LEX?
I’m running QNX V 4.25 and Photon 1.14
According to LEX, it’s version 2.3
I give it a nice simple LEX program:
----------- in the file: eol.l -------------
[ \t]+$ ;
Run over this with lex:
lex -vc eol.l
Throw it to the C compiler:
The C compiler gripes about:
eol.l(94):Warning! W106:Constant out of range - truncated
If we open up the lex.yy.c file and have a look, we find:
static const struct yy_trans_info yy_transition =
0, 299736, 0,
There is just no way this will ever work. Anybody got any ideas?