bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fallback vsnprintf prototype incorrect, mbstr.h also needed (OSF/TRU


From: Greg Wooledge
Subject: Re: fallback vsnprintf prototype incorrect, mbstr.h also needed (OSF/TRU64)
Date: Mon, 7 Jun 2010 08:23:04 -0400
User-agent: Mutt/1.4.2.3i

On Sat, Jun 05, 2010 at 12:10:34PM +0000, Jay K wrote:
> extern int vsnprintf __P((char *, size_t, const char *, ...)) 
> __attribute__((__format__ (printf, 3, 4)));
> -----------^
> cc: Error: ./printf.def, line 175: In this declaration, the type of 
> "vsnprintf" is not compatible with the type of a previous declaration of 
> "vsnprintf" at line number 212 in file /usr/include/stdio.h. (notcompat)

You didn't say which version of the bash source you're using.  There
was a fix for vsnprintf issues in the first patch for bash 4.1.
See http://ftp.gnu.org/pub/gnu/bash/bash-4.1-patches/ for the patches.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]