Re: [Autogen-users] missing

2009-10-18 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruce Korb on 10/18/2009 12:21 PM: > Eric Blake wrote: >> But on Windows 64 bit platforms, that is exactly the case (64-bit >> pointers, 32-bit long). > > Thanks, Eric. More compat.h magic: > >> #ifndef HAVE_INTPTR_T >> # if SIZEOF_CHAR

Re: [Autogen-users] missing

2009-10-18 Thread Bruce Korb
Hi Eric, On Sun, Oct 18, 2009 at 2:09 PM, Eric Blake wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > According to Bruce Korb on 10/18/2009 12:21 PM: >> Eric Blake wrote: >>> But on Windows 64 bit platforms, that is exactly the case (64-bit >>> pointers, 32-bit long). >> >> Thanks, Er

Re: [Autogen-users] missing

2009-10-18 Thread Bruce Korb
Eric Blake wrote: > > But on Windows 64 bit platforms, that is exactly the case (64-bit > pointers, 32-bit long). Thanks, Eric. More compat.h magic: > #ifndef HAVE_INTPTR_T > # if SIZEOF_CHARP == SIZEOF_LONG > typedef signed long intptr_t; > # else > typedef signed int

Re: [Autogen-users] missing

2009-10-14 Thread Bruce Korb
On Tue, Oct 13, 2009 at 5:52 PM, Eric Blake wrote: >> then the backup is "unsigned long".  If a pointer is >> not matching a long in size, there is a terrible lot of >> code that will break. > > But on Windows 64 bit platforms, that is exactly the case (64-bit > pointers, 32-bit long). Hmmm. Wel

Re: [Autogen-users] missing

2009-10-13 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruce Korb on 10/13/2009 3:15 PM: > If it isn't in stdint.h (it should be, if memory serves), > then the backup is "unsigned long". If a pointer is > not matching a long in size, there is a terrible lot of > code that will break. But on

Re: [Autogen-users] missing

2009-10-13 Thread Bruce Korb
If it isn't in stdint.h (it should be, if memory serves), then the backup is "unsigned long". If a pointer is not matching a long in size, there is a terrible lot of code that will break. So, in compat/compat.h: #ifndef HAVE_UINTPTR_T typedef unsigned long uintptr_t; #endif I guess that needs t

[Autogen-users] missing

2009-10-13 Thread Geof Sawaya
Hi Bruce, Thanks in advance for helping out. I owe ya! I had discussed an issue I was having building for windows, but now I'm back to a Linux problem. It so happens that it involves the same little beast, 'uintptr_t'. Isn't this item included in stdint.h? I don't know how to fix the autoc