From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12333 invoked by alias); 5 Aug 2009 17:43:34 -0000 Received: (qmail 12324 invoked by uid 22791); 5 Aug 2009 17:43:33 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp2.caviumnetworks.com (HELO smtp2.caviumnetworks.com) (209.113.159.134) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 05 Aug 2009 17:43:27 +0000 Received: from maexch1.caveonetworks.com (Not Verified[192.168.14.20]) by smtp2.caviumnetworks.com with MailMarshal (v6,5,4,7535) id ; Wed, 05 Aug 2009 13:43:00 -0400 Received: from caexch01.caveonetworks.com ([192.168.16.9]) by maexch1.caveonetworks.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 5 Aug 2009 13:43:23 -0400 Received: from dd1.caveonetworks.com ([64.169.86.201]) by caexch01.caveonetworks.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Wed, 5 Aug 2009 10:43:20 -0700 Message-ID: <4A79C4B7.2020800@caviumnetworks.com> Date: Wed, 05 Aug 2009 17:43:00 -0000 From: David Daney User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: "Praveen S. Solanki" CC: Pedro Alves , gdb Subject: Re: Error in gdb make References: <23639761.196271249493942907.JavaMail.root@zimbra> In-Reply-To: <23639761.196271249493942907.JavaMail.root@zimbra> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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/msg00036.txt.bz2 Praveen S. Solanki wrote: > gdb version: 6.8 Does the --disable-werror configure option work in gdb? David Daney > ----- Original Message ----- > From: "Pedro Alves" > To: gdb@sourceware.org, tromey@redhat.com > Cc: "Praveen S. Solanki" > Sent: Wednesday, August 5, 2009 1:35:22 PM GMT -05:00 US/Canada Eastern > Subject: Re: Error in gdb make > > On Wednesday 05 August 2009 18:16:44, Tom Tromey wrote: >>>>>>> "Praveen" == Praveen S Solanki writes: >> Praveen> It seems that the newer libc don't consider it appropriate if >> Praveen> the return values of libc function is not used. This causes >> Praveen> make to fail. >> >> Please be more specific. What exact error? What compiler? What >> operating system? > > ... 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/2008-12/msg00243.html > http://sourceware.org/ml/gdb-patches/2009-01/msg00050.html >