This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Eliminate warnings about snprintf declaration


> Date: Thu, 12 May 2005 12:24:53 -0400
> From: Daniel Jacobowitz <drow@false.org>
> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]