On Fri, Mar 01, 2013 at 08:56:04PM +0100, Diego Biurrun wrote:
> On Fri, Mar 01, 2013 at 01:31:14PM -0500, Derek Buitenhuis wrote:
> > On 2013-03-01 9:04 AM, Diego Biurrun wrote:
> > > This enables a more POSIX-compliant printf implementation, that
> > > allows using length modifiers like 'z'.
> > > ---
> > >  configure |    1 +
> > >  1 files changed, 1 insertions(+), 0 deletions(-)
> > 
> > Nifty.
> > 
> > http://sourceforge.net/apps/trac/mingw-w64/wiki/gnu%20printf -- seems to be 
> > legit.
> 
> Have you tried it?
> 
> While indeed the warnings about "zu" go away, a new one appears:
> 
> c:/cygwin/home/diego/src/libav/libavutil/log.h:142:1: warning: 
> '__MINGW_PRINTF_FORMAT' is an unrecognized format function type [-Wformat]

The only solution I have for this is using the "gnu_printf" gcc printf
format attribute.  I'll send an RFC patch for discussion, I'd love to
hear cleaner alternatives.

Diego
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to