Re: kitgen report

Jean-Claude Wippler <[email protected]>
Newsgroups gmane.comp.lang.tcl.starkit
Message-ID <[email protected]>
Virden, Larry W. wrote:

> And when I did a kitgen small, I got pretty far - until I hit this:
[...]
> "../../../vlerq/generic/vlerq.c", line 18: cannot find include file:
> <stdint.h>

Hm.  I need that header file for int64_t (64-bit ints) and intptr_t  
(an int wide enough to contain a void*).  If anyone has a suggestion  
on how to make that more portable (and not Tcl-specific), with  
autoconf or some other #ifdef incantation I'd be most grateful.

You could manually replace the include file reference on Solaris if  
you know what two typedef's to insert instead.  My guess would be:
	typedef long long int64_t;
	typedef long intptr_t;

Hm, maybe you'll also need to insert this:
	typedef unsigned char uint8_t;

If there's a #define for sparc/solaris/sunos, I could add it as quick  
workaround.

-jcw
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.