www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2004/12/17/06:31:29

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Authentication-Warning: itservs.wilkes.edu: apache set sender to fdonahoe AT wilkes DOT edu using -f
Message-ID: <1103281897.41c2bee999a64@webmail.wilkes.edu>
Date: Fri, 17 Dec 2004 06:11:37 -0500
From: fdonahoe AT wilkes DOT edu
To: Stepan Kasal <kasal AT ucw DOT cz>
Cc: Juan Manuel Guerrero <st001906 AT hrz1 DOT hrz DOT tu-darmstadt DOT de>,
djgpp-workers AT delorie DOT com, texinfo-pretest AT texinfo DOT org
Subject: Re: [karl AT gnu DOT org: [texinfo-pretest] texinfo 4.7.91 pretest available]
MIME-Version: 1.0
User-Agent: Internet Messaging Program (IMP) 3.2
X-Originating-IP: 146.94.1.213
Reply-To: djgpp-workers AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019