Re: [fpc-devel] intptr_t and Linux

2011-04-25 Thread Marco van de Voort
In our previous episode, ik said: > > and ptrint, intptr and (c)intptr_t is a bit too much without very good > > reasons. > > > > So, what do you need it for, and why can't you use simply ptrint? > > > > I bind C code, and looked for it. > And I used PtrInt instead but was interested in understand

Re: [fpc-devel] intptr_t and Linux

2011-04-24 Thread ik
On Sun, Apr 24, 2011 at 19:40, Marco van de Voort wrote: > In our previous episode, ik said: > > > > Linux. > > > > > > I guess this went to the wrong list. I can't find any intptr_t in e.g. > the > > > FreeBSD rtl. > > > > Right, my bad. > > > > ik@ik-office:~/projects/fpc/fpc/rtl$ grep -in intp

Re: [fpc-devel] intptr_t and Linux

2011-04-24 Thread Marco van de Voort
In our previous episode, ik said: > > > Linux. > > > > I guess this went to the wrong list. I can't find any intptr_t in e.g. the > > FreeBSD rtl. > > Right, my bad. > > ik@ik-office:~/projects/fpc/fpc/rtl$ grep -in intptr_t ./* -R | grep -v svn > ./netbsd/sysnr.inc:144: { syscall: "sbrk" ret: "

Re: [fpc-devel] intptr_t and Linux

2011-04-24 Thread ik
On Sun, Apr 24, 2011 at 18:43, Marco van de Voort wrote: > In our previous episode, ik said: > > > > I see that intptr_t type is defined for all supported Unix that are not > > Linux. > > I guess this went to the wrong list. I can't find any intptr_t in e.g. the > FreeBSD rtl. > Right, my bad.

Re: [fpc-devel] intptr_t and Linux

2011-04-24 Thread Marco van de Voort
In our previous episode, ik said: > > I see that intptr_t type is defined for all supported Unix that are not > Linux. I guess this went to the wrong list. I can't find any intptr_t in e.g. the FreeBSD rtl. ___ fpc-devel maillist - fpc-devel@lists.fre

[fpc-devel] intptr_t and Linux

2011-04-24 Thread ik
Hello List, I see that intptr_t type is defined for all supported Unix that are not Linux. Is there are reason why it was never declared for Linux ? stdint.h is define it like so: /* Types for `void *' pointers. */ #if __WORDSIZE == 64 # ifndef __intptr_t_defined typedef long intintptr_t; #