This is the mail archive of the
mailing list for the GCC project.
Re: [RFA] Eliminate warnings about snprintf declaration
> Date: Thu, 12 May 2005 12:24:53 -0400
> From: Daniel Jacobowitz <firstname.lastname@example.org>
> Cc: email@example.com, firstname.lastname@example.org
> 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.