From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26611 invoked by alias); 12 May 2005 20:43:46 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 26370 invoked from network); 12 May 2005 20:43:41 -0000 Received: from unknown (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org with SMTP; 12 May 2005 20:43:41 -0000 Received: from zaretski (IGLD-83-130-254-105.inter.net.il [83.130.254.105]) by romy.inter.net.il (MOS 3.5.6-GR) with ESMTP id BEZ54351 (AUTH halo1); Thu, 12 May 2005 23:43:38 +0300 (IDT) Date: Thu, 12 May 2005 20:48:00 -0000 From: "Eli Zaretskii" To: gcc-patches@gcc.gnu.org, gdb-patches@sources.redhat.com Message-ID: <01c55732$Blat.v2.4$e9bd3640@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 In-reply-to: <20050512162453.GA5180@nevyn.them.org> (message from Daniel Jacobowitz on Thu, 12 May 2005 12:24:53 -0400) Subject: Re: [RFA] Eliminate warnings about snprintf declaration Reply-to: Eli Zaretskii References: <01c4c990$Blat.v2.2.2$887ec720@zahav.net.il> <41994B9D.9080809@gnu.org> <01c55702$Blat.v2.4$d4764900@zahav.net.il> <20050512150804.GA1808@nevyn.them.org> <01c55708$Blat.v2.4$cfc9f040@zahav.net.il> <20050512154716.GA3513@nevyn.them.org> <01c5570e$Blat.v2.4$1c533160@zahav.net.il> <20050512162453.GA5180@nevyn.them.org> X-SW-Source: 2005-05/txt/msg00305.txt.bz2 > Date: Thu, 12 May 2005 12:24:53 -0400 > From: Daniel Jacobowitz > Cc: gcc-patches@gcc.gnu.org, gdb-patches@sources.redhat.com > > The principle is that any project which uses libiberty, which wants > these definitions, must request them. Libiberty's config.h is included > by libiberty source files, before they include libiberty.h. GDB's > config.h is included by GDB source fles before they include > libiberty.h. So, if GDB needs the prototype, it is GDB's > responsibility to request it. So I need to add these functions to gdb/configure.ac _and_ to libiberty/configure.ac; got it. I will post a revised patch soon. Thanks for your patience.