Mail Archives: djgpp-workers/2004/12/17/06:31:29
Quoting Stepan Kasal <kasal AT ucw DOT cz>:
> 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
>
I can clear up some of the confusion about intptr_t. When I
received your message forwarded by Eli Zaretski, I clicked on
the link:
http://texinfo.org/pretest/ftp/texinfo.tar.gz
rather than the ftp link. It brought me texinfo 4.7.90. I
saw that, but never really looked at it, nor checked back to
the reference e-mail. I apologize for my part in the confusion.
At least now we know that with the right header, intptr_t
works just fine.
Regards,
Frank
-----------------------------------------------------------------------
This mail was sent through Wilkes Webmail: http://webmail.wilkes.edu
Wilkes Webmail is using IMP: http://horde.org/imp/
- Raw text -