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: Fix bootstrap on non-C99 systems


On Wed, Apr 13, 2005 at 12:23:02PM -0700, Mark Mitchell wrote:
> I think that the libiberty thinking is that in this situation the 
> function ought to be declared in libiberty.h -- if no prototype appears 
> in the system headers.  In other words, guarded with #ifndef 
> HAVE_DECL_VNSPRINTF.  Making the fix in libiberty.h would help other 
> uses of that library.  In C++, this is of course an error inependent of 
> -Werror.

I think it's a mistake to try to share configure results and have
to use HAVE_DECL_VNSPRINTF.  Better would be to generate libiberty.h
at libiberty build time.


r~


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