From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31535 invoked by alias); 14 May 2012 02:49:06 -0000 Received: (qmail 31524 invoked by uid 22791); 14 May 2012 02:49:04 -0000 X-SWARE-Spam-Status: No, hits=-3.7 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_NIX_SPAM,SPF_SOFTFAIL,TW_SM X-Spam-Check-By: sourceware.org Received: from mtaout21.012.net.il (HELO mtaout21.012.net.il) (80.179.55.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 14 May 2012 02:48:48 +0000 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M3Z00600RNP5E00@a-mtaout21.012.net.il> for gdb@sourceware.org; Mon, 14 May 2012 05:48:23 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M3Z006DVRSM0R90@a-mtaout21.012.net.il>; Mon, 14 May 2012 05:48:23 +0300 (IDT) Date: Mon, 14 May 2012 02:49:00 -0000 From: Eli Zaretskii Subject: Re: [mingw]gdb CVS HEAD build error In-reply-to: <4FB05F17.7090701@gmail.com> To: asmwarrior Cc: gdb@sourceware.org Reply-to: Eli Zaretskii Message-id: <83k40fwk5k.fsf@gnu.org> References: <4FB05F17.7090701@gmail.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-05/txt/msg00052.txt.bz2 > Date: Mon, 14 May 2012 09:25:43 +0800 > From: asmwarrior > > It looks like those format: "%lld" > > sprintf (str, "%lld", va_arg (ap, long long)); > > is not supported under MinGW. Correct. > By reading this link: > http://cboard.cprogramming.com/cplusplus-programming/118149-long-long-int-gplusplus-mingw.html > > It suggest that under MinGW, we should use %I64d > > Any ideas? Use decimal2str?