Re: Bug#196800: flex mustn't assume stdint.h is available on allplatforms
Jochen wrote:
> On Wed, Jun 11, 2003 at 11:15:48PM -0500, Manoj Srivastava wrote:
> > Indeed, since the scanner follows the standard, the code
> > produced is portable -- not following the standard is what leads to
> > non portable code.
> With "portable" I meant "running on a wide range of existing
> machines". It is like driving your bicycle in the town: having the
> law on your side when the car hits you, does not necessarily keep you
> alive.
>
> But as long as flex-old is around and produces code which is portable
> in the sense above, things are fine for me.
I don't think it make sense to ship the lex.yy.c file build by flex
anyway. Automake do that but I feel it's a bug: flex rely on a support
library libl.a to do it's job. If flex is not installed on the target
machine, this library will most probably be missing. Also some lex
implementations do not use a library at all.
What worry me more is incompatibilities with POSIX lex spec rather
than ANSI C.
Cheers,
--
Bill. <ballombe@debian.org>
Imagine a large red swirl here.
Reply to: