Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 14 Jan 2014 22:06:01 +0100
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: Am I using PRIxPTR wrong?  Musl-libc complains, glibc
 doesn't

* 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 ""

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.