[FFmpeg-devel] [PATCH] configure: Enable MinGW-w64's implementation of vsnprintf and pals

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri May 17 08:14:11 CEST 2013


On Wed, Apr 24, 2013 at 01:58:15PM -0400, Derek Buitenhuis wrote:
> On 2013-04-24 12:45 PM, Reimar Döffinger wrote:
> > Is it worth it? I mean, for consistency wouldn't it make kind of more
> > sense if we have all Windows builds use the same code, namely our
> > own implementation?
> > It seems to me like this will just add variation that makes debugging
> > harder without any gains?
> 
> Our implementation relies on _vsnprintf at its core, which doesn't support
> things like %zu (we use it in a few logs). MinGW's does support this.

Isn't that make my point all the stronger and an extra good reason to
_not_ use two implementations?
If anything this would be an argument to use a wrapper even on
Linux/Unix to make sure we do not use %zu by accident, since it's
not going to work on some systems after all.


More information about the ffmpeg-devel mailing list