Re: [RFA] Eliminate warnings about snprintf declaration

Daniel Jacobowitz
2005-05-12T15:47:23Z

On Thu, May 12, 2005 at 06:38:38PM +0300, Eli Zaretskii wrote:
> > Date: Thu, 12 May 2005 11:08:04 -0400
> > From: Daniel Jacobowitz <drow@false.org>
> > Cc: gcc-patches@gcc.gnu.org, gdb-patches@sources.redhat.com
> >
> > I recommend copying the libiberty maintainers directly to get their
> > attention.
>
> Errr... who are they? libiberty/README says to send patches to
> gcc-patches, which I did. What am I missing?

DJ and Ian. I missed the CC to gcc-patches, sorry. That's plenty.

> > That will only affect libiberty.h when building libiberty; it won't
> > affect the users of libiberty.
>
> Then how does one cause libiberty/configure to check for these
> declarations and edit libiberty/config.h accordingly? I thought one
> should modify configure.ac and the regenerate configure, no?

It doesn't matter. libiberty/config.h is not a public file; it is only
used while building libiberty. Any project that wants a prototype for
these functions is responsible for the check in its own private
config.h.

--
Daniel Jacobowitz
CodeSourcery, LLC