|
Message-ID: <1360398900.23424.151.camel@eris.loria.fr>
Date: Sat, 09 Feb 2013 09:35:00 +0100
From: Jens Gustedt <jens.gustedt@...ia.fr>
To: musl@...ts.openwall.com
Subject: Re: printf warning with uintmax_t
Am Freitag, den 08.02.2013, 17:14 -0500 schrieb Rich Felker:
> It looks like we're not matching the ABI convention gcc expects, where
> [u]intmax_t is the lowest-rank type capable of storing the full
> integer range (i.e. long on 64-bit systems).
I didn't check how you do this in musl, but for me gcc without any
includes has
#define __INTMAX_TYPE__ long int
so I guess that macro is just what should be taken to match its
expectations for printf formats. You still could have a fallback for
compilers that don't provide this. I checked for clang and it does,
BTW.
Jens
--
:: INRIA Nancy Grand Est :: http://www.loria.fr/~gustedt/ ::
:: AlGorille ::::::::::::::: office Nancy : +33 383593090 ::
:: ICube :::::::::::::: office Strasbourg : +33 368854536 ::
:: ::::::::::::::::::::::::::: gsm France : +33 651400183 ::
:: :::::::::::::::::::: gsm international : +49 15737185122 ::
Download attachment "signature.asc" of type "application/pgp-signature" (199 bytes)
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.