[MLton] %zu printf formatter does not port

Matthew Fluet fluet at tti-c.org
Fri Aug 17 09:19:09 PDT 2007


On Fri, 17 Aug 2007, Ville Laurikari wrote:
> On Wed, Aug 15, 2007 at 01:09:08PM -0500, Matthew Fluet wrote:
>> On Wed, 15 Aug 2007, Ville Laurikari wrote:
>>> Alternatively, we could cast size_t to uintmax_t and use PRIuMAX for
>>> printing.  The advantage with this would be that the printf macros are
>> I'm slightly in preference for this alternative.  Though, I know that on
>
> I made this patch and it seems to work.  I suppose I'll just commit
> it then...

I suppose.  It's not a happy solution, but I don't see any other 
alternatives.

BTW, what goes wrong when printf gets %z on hpux?




More information about the MLton mailing list