On Fri, Mar 06, 2015 at 10:23:43PM +0100, Clément Bœsch wrote: > On Fri, Mar 06, 2015 at 06:06:23PM -0300, James Almer wrote: > > On 06/03/15 6:03 PM, Michael Niedermayer wrote: > > > On Fri, Mar 06, 2015 at 09:58:37PM +0100, Michael Niedermayer wrote: > > >> On Fri, Mar 06, 2015 at 02:59:43PM -0500, Ronald S. Bultje wrote: > > >>> Hi, > > >>> > > >>> On Fri, Mar 6, 2015 at 2:42 PM, Peter <dravo...@googlemail.com> wrote: > > >>> > > >>>> From c72344d2b1dc8b087e5da904724c959005f36f4b Mon Sep 17 00:00:00 2001 > > >>>> From: Peter Tissen <dravo...@gmail.com> > > >>>> Date: Fri, 6 Mar 2015 19:39:27 +0100 > > >>>> Subject: [PATCH] Make compilable with VS2015 > > >>>> > > >>>> So Visual Studio 2015 has some breaking changes regarding the C > > >>>> runtime. In short, they made C99 compatable runtime. > > >>>> Refer to > > >>>> http://blogs.msdn.com/b/vcblog/archive/2014/06/18/crt-features-fixes-and-breaking-changes-in-visual-studio-14-ctp1.aspx > > >>>> > > >>>> Signed-off-by: Peter Tissen <dravo...@gmail.com> > > >>>> --- > > >>>> configure | 14 +++++++++----- > > >>>> libavutil/internal.h | 2 +- > > >>>> 2 files changed, 10 insertions(+), 6 deletions(-) > > >>>> > > >>>> diff --git a/configure b/configure > > >>>> index ce745d2..1ea2032 100755 > > >>>> --- a/configure > > >>>> +++ b/configure > > >>>> @@ -3531,7 +3531,9 @@ probe_cc(){ > > >>>> _flags='-nologo' > > >>>> _cflags='-D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS > > >>>> -Dinline=__inline -FIstdlib.h -Dstrtoll=_strtoi64' > > >>>> if [ $pfx = hostcc ]; then > > >>>> - append _cflags -Dsnprintf=_snprintf > > >>>> + if [ -z "$cl_major_ver" ] || [ $cl_major_ver -le 18 ]; > > >>>> then > > >>>> + append _cflags -Dsnprintf=_snprintf > > >>>> + fi > > >>> > > >>> > > >>> Oh wow that's amazing! They fixed it! Hurray! I'm seriously happy. > > >> > > >> applied (from the github pull req as the attached patch was corrupted) > > > > > > should i backport this to 2.6 ? > > > > Assuming it's properly tested (passes Fate, basically) then I'd say yeah, > > it would be nice to > > have 2.6 compile with msvc 2015 out of the box. > > Stop making me add stuff into the release note! @_@
considering the missing hunk on github i think ill tend toward 2.6.1 for the backport unless someone does fully test it and posts any missing and tested hunks in time [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Complexity theory is the science of finding the exact solution to an approximation. Benchmarking OTOH is finding an approximation of the exact
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel