WordPtr,IntPtr,IntMax,WordMax

Donald Bruce Stewart dons at cse.unsw.edu.au
Fri May 12 06:22:29 EDT 2006


john:
> On Fri, May 12, 2006 at 10:19:18AM +0100, Simon Marlow wrote:
> > >Especially since even:
> > >
> > >    checking Haskell type for intmax_t... not supported
> > >    checking Haskell type for uintmax_t... not supported
> > >
> > >aren't universal :)
> > 
> > Well, yes.  Any suggestions for what to do here?  Make a best guess?
> 
> What is the problem here? are intmax_t and uintmax_t not on all systems?

Well, not on OpenBSD at least. So that probably means not on Solaris or
Irix or AIX either.
  
> there is a handy autoconf macro that generates an appropriate ISO
> compliant inttypes.h if one doesn't exist on a system.

Ah, now that sounds like a solution.

-- Don


More information about the Glasgow-haskell-users mailing list