From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8505 invoked by alias); 5 Aug 2009 17:35:34 -0000 Received: (qmail 8497 invoked by uid 22791); 5 Aug 2009 17:35:34 -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:35:25 +0000 Received: (qmail 6827 invoked from network); 5 Aug 2009 17:35:23 -0000 Received: from unknown (HELO orlando) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 5 Aug 2009 17:35:23 -0000 From: Pedro Alves To: gdb@sourceware.org, tromey@redhat.com Subject: Re: Error in gdb make Date: Wed, 05 Aug 2009 17:35:00 -0000 User-Agent: KMail/1.9.10 Cc: "Praveen S. Solanki" References: <27150072.194981249490623195.JavaMail.root@zimbra> <17863887.195221249491042898.JavaMail.root@zimbra> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908051835.22646.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/msg00033.txt.bz2 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 -- Pedro Alves