[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
2.5.31: unprotected uint32_t usage in flex.skl
From: |
Hans-Bernhard Broeker |
Subject: |
2.5.31: unprotected uint32_t usage in flex.skl |
Date: |
Fri, 4 Jul 2003 14:20:24 +0200 (MET DST) |
Hello, flexers,
I can only hope I'm not getting on your nerves with all these...
Here's the next stumbling block in my experiments with the flex-2.5.31
snapshot: 'make check' fails to compile test-multiple-scanners-r, because
of references to undefined type uint32_t in flex.skl:
flex.skl: uint32_t bread; /**< bytes read since beginning of current tableset
flex.skl: if (fread (v, sizeof (uint32_t), 1, rd->fp) != 1){
flex.skl: *((uint32_t *) v) = ntohl (*((uint32_t *) v));
flex.skl: rd->bread += sizeof(uint32_t);
Once I changed theses, the rebuild of skel.c triggered by this failed
in an out-of-source-directory build setup: it rebuilt $(builddir)/skel.c
instead of $(srcdir)/skel.c, and failed to find several included files:
stdin:176: /usr/local/bin/gnum4: Cannot open flexint.h: No such file or
directory
stdin:1074: /usr/local/bin/gnum4: Cannot open tables_shared.h: No such file or
directory
stdin:2865: /usr/local/bin/gnum4: Cannot open tables_shared.c: No such file or
directory
I fixed that temporarily by editing the special rule in Makefile.am for
skel.c to
( cd $(srcdir) ; ...all the action...)
(and removing all $(srcdir)/ prefixes from the command itself)
--
Hans-Bernhard Broeker (address@hidden)
Even if all the snow were burnt, ashes would remain.
- 2.5.31: unprotected uint32_t usage in flex.skl,
Hans-Bernhard Broeker <=