[RFA] Eliminate warnings about snprintf declaration

Eli Zaretskii eliz@gnu.org
Thu May 12 20:48:00 GMT 2005


> 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.



More information about the Gdb-patches mailing list