[karl@gnu.org: [texinfo-pretest] texinfo 4.7.91 pretest available]

Stepan Kasal kasal at ucw.cz
Fri Dec 17 04:48:48 EST 2004


Hello,

On Tue, 14 Dec 2004, Frank Donahoe wrote:
> Is it possible that I have somehow lost a header?  While compiling
> the patched texinfo 4.7.91 on Windows XP Home Edition this error
> stopped the build.
..
> echo-area.c:939: error: `intptr_t' undeclared \
>   (first use in this function)

this sounds weird: all instances of `intptr_t' have been removed from
texinfo just before 4.7.91 was released.

Karl: what used to be
	(void *) ((intptr_t) foo)
is now
	(void *) (long) foo

You (re-)added the intermediate cast to silence some warnings.

Wouldn't it be more readable to have

	(void *) (intptr_t) foo

and trying to get stdint somehow?
For djgpp, it would be enough to include stdint.h, #ifdef'ed of course.
We could try to get out with that.

I think stdint.h could be included from system.h, though I'm not sure
where is the right place to put it to.

All of this would go in only after the 4.8 release, of course, because
the current code works.

Regards,
	Stepan


More information about the texinfo-pretest mailing list