From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13625 invoked by alias); 5 Aug 2009 17:45:42 -0000 Received: (qmail 13615 invoked by uid 22791); 5 Aug 2009 17:45:42 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 05 Aug 2009 17:45:36 +0000 Received: (qmail 12969 invoked from network); 5 Aug 2009 17:45:34 -0000 Received: from unknown (HELO orlando) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 5 Aug 2009 17:45:34 -0000 From: Pedro Alves To: gdb@sourceware.org Subject: Re: Error in gdb make Date: Wed, 05 Aug 2009 17:45:00 -0000 User-Agent: KMail/1.9.10 Cc: "Praveen S. Solanki" References: <23639761.196271249493942907.JavaMail.root@zimbra> In-Reply-To: <23639761.196271249493942907.JavaMail.root@zimbra> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908051845.33312.pedro@codesourcery.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: 2009-08/txt/msg00037.txt.bz2 On Wednesday 05 August 2009 18:39:02, Praveen S. Solanki wrote: > gdb version: 6.8 GDB 6.8 was released in early 2008. I think we missed disable -Werror in that release. > Pedro Alves wrote: > > ... and what GDB version. It sounds like he's referring to warnings > from glibc's (ab)use of warn_unused_result, which Jim Blandy > fixed months ago: > > http://sourceware.org/ml/gdb-patches/2009-01/msg00050.html ^^^^^^^ 2009-01 > 2008-xx. Either try a recent GDB snapshot, or build 6.8 with "-Wno-unused-result" added to CFLAGS, or configure with --disable-werror. -- Pedro Alves