From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12112 invoked by alias); 22 May 2009 06:56:02 -0000 Received: (qmail 12102 invoked by uid 22791); 22 May 2009 06:56:01 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout3.012.net.il (HELO mtaout3.012.net.il) (84.95.2.7) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 22 May 2009 06:55:56 +0000 Received: from conversion-daemon.i_mtaout3.012.net.il by i_mtaout3.012.net.il (HyperSendmail v2004.12) id <0KK100C009NO1G00@i_mtaout3.012.net.il> for gdb-patches@sourceware.org; Fri, 22 May 2009 09:55:53 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.115.215]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KK100H9H9X4ANB0@i_mtaout3.012.net.il>; Fri, 22 May 2009 09:55:53 +0300 (IDT) Date: Fri, 22 May 2009 06:56:00 -0000 From: Eli Zaretskii Subject: Re: [Prec/RFA] fix build error of prec in cygwin In-reply-to: <20090522060545.GA15680@adacore.com> To: Joel Brobecker Cc: gdb-patches@sourceware.org, teawater@gmail.com Reply-to: Eli Zaretskii Message-id: <83ws89occi.fsf@gnu.org> References: <20090518153510.GA23052@ednor.casa.cgf.cx> <20090521152621.GA27524@ednor.casa.cgf.cx> <20090521173804.GA27866@ednor.casa.cgf.cx> <20090522004623.GI28993@ednor.casa.cgf.cx> <20090522041341.GA13509@ednor.casa.cgf.cx> <20090522060545.GA15680@adacore.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-05/txt/msg00482.txt.bz2 > Date: Thu, 21 May 2009 23:05:45 -0700 > From: Joel Brobecker > > > "%zu" > > Are we allowed to use %z? No, I don't think so. > I thought that %z is C99 It is. I think the best we can do with C90 is use %lu and cast to `unsigned long'.