From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26397 invoked by alias); 22 May 2009 14:11:06 -0000 Received: (qmail 26379 invoked by uid 22791); 22 May 2009 14:11:04 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from wf-out-1314.google.com (HELO wf-out-1314.google.com) (209.85.200.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 22 May 2009 14:10:57 +0000 Received: by wf-out-1314.google.com with SMTP id 23so569618wfg.24 for ; Fri, 22 May 2009 07:10:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.110.57.6 with SMTP id f6mr115433tia.25.1243001454183; Fri, 22 May 2009 07:10:54 -0700 (PDT) In-Reply-To: <83vdnto56l.fsf@gnu.org> References: <20090518153510.GA23052@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> <83ws89occi.fsf@gnu.org> <83vdnto56l.fsf@gnu.org> Date: Fri, 22 May 2009 14:11:00 -0000 Message-ID: Subject: Re: [Prec/RFA] fix build error of prec in cygwin From: Hui Zhu To: Eli Zaretskii Cc: brobecker@adacore.com, gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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/msg00489.txt.bz2 On Fri, May 22, 2009 at 17:30, Eli Zaretskii wrote: >> Date: Fri, 22 May 2009 17:06:17 +0800 >> From: Hui Zhu >> Cc: Joel Brobecker , gdb-patches@sourceware.org >> >> On Fri, May 22, 2009 at 14:55, Eli Zaretskii wrote: >> >> 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'. >> > >> I make a new patch use %lu and unsigned long. =A0Please help me review i= t. > > Looks okay to me, as far as using sizeof in printf-like statements is > concerned. > Checked in. Thanks. Hui