|
Message-ID: <20140114212010.GD24286@brightrain.aerifal.cx> Date: Tue, 14 Jan 2014 16:20:10 -0500 From: Rich Felker <dalias@...ifal.cx> To: musl@...ts.openwall.com Subject: Re: Am I using PRIxPTR wrong? Musl-libc complains, glibc doesn't On Tue, Jan 14, 2014 at 10:06:01PM +0100, Szabolcs Nagy wrote: > * David Wuertele <dave+gmane@...rtele.com> [2014-01-14 20:36:36 +0000]: > > ** Both native (x86_64 glibc) and target (arm musl-libc) define > > ** PRIxPTR as "lx", but uintptr_t as unsigned int: > > musl defines it to "x" on 32bit archs > > please check > > arm-linux-musleabishf-gcc -E -dD inttypes.h > > in particular UINTPTR_MAX should be set to UINT32_MAX > and __PRIPTR to "" Maybe I misread; it looks like David's problem is finding "lx" in the header while the actual type is "unsigned int". Perhaps this is due to using an older version of musl where the "lx" was there incorrectly? Rich
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.