From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4481 Path: news.gmane.org!not-for-mail From: David Wuertele Newsgroups: gmane.linux.lib.musl.general Subject: Re: Am I using PRIxPTR wrong? Musl-libc complains, glibc doesn't Date: Tue, 14 Jan 2014 21:37:28 +0000 (UTC) Message-ID: References: <20140114210601.GF1685@port70.net> <20140114212010.GD24286@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1389735609 31811 80.91.229.3 (14 Jan 2014 21:40:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Jan 2014 21:40:09 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4485-gllmg-musl=m.gmane.org@lists.openwall.com Tue Jan 14 22:40:17 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 1W3Bib-0005O3-5u for gllmg-musl@plane.gmane.org; Tue, 14 Jan 2014 22:40:17 +0100 Original-Received: (qmail 1918 invoked by uid 550); 14 Jan 2014 21:40:16 -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 1910 invoked from network); 14 Jan 2014 21:40:16 -0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 205.234.27.227 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36) Xref: news.gmane.org gmane.linux.lib.musl.general:4481 Archived-At: Rich Felker aerifal.cx> writes: > On Tue, Jan 14, 2014 at 10:06:01PM +0100, Szabolcs Nagy wrote: > > * David Wuertele wuertele.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 > > 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? I'm using musl-0.9.14, I see that 9.15 just came out this month. Did 0.9.14 have the problem? Dave