From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4478 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: Am I using PRIxPTR wrong? Musl-libc complains, glibc doesn't Date: Tue, 14 Jan 2014 22:06:01 +0100 Message-ID: <20140114210601.GF1685@port70.net> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1389733568 4495 80.91.229.3 (14 Jan 2014 21:06:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Jan 2014 21:06:08 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4482-gllmg-musl=m.gmane.org@lists.openwall.com Tue Jan 14 22:06:16 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1W3BBd-0000AN-Lg for gllmg-musl@plane.gmane.org; Tue, 14 Jan 2014 22:06:13 +0100 Original-Received: (qmail 19489 invoked by uid 550); 14 Jan 2014 21:06:13 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 19481 invoked from network); 14 Jan 2014 21:06:13 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:4478 Archived-At: * David Wuertele [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 ""