On Thu, Aug 04, 2016 at 03:50:52PM +0300, Martin Storsjö wrote: > On Tue, 2 Aug 2016, Diego Biurrun wrote: > > It no longer serves a useful purpose. > > --- > > > > AFAICT this was added for MinGW at the beginning of the century. > > MSVC does not need it, mingw-w64 does not need it. Some old Cygwin > > 1.7.x I had lying around did need it, however, a freshly installed > > Cygwin 2.5.x does not need it. MinGW 3.22.1 needs it, which probably > > only shows how obsolete MinGW really is. MinGW 3.22.1 is supposed to > > be the last release before switching to the 5.x branch. One can only > > hope (expect?) that they'll be a tad more current then. > > Actually, it's not about how current MinGW is - it does have the necessary > functions (the _aligned_malloc) function. The necessary function is only > available from XP though, and MinGW still seems to default to win2k as > baseline. Configuring with --extra-cflags=-D__MSVCRT_VERSION__=0x0700 does > not need the memalign hack. > > See https://lists.libav.org/pipermail/libav-devel/2012-June/029342.html > for a discussion on the matter.
Is there a reason why we haven't had configure add that value to CPPFLAGS for MinGW yet? It seems almost too simple a fix for it not to have been done yet.. Diego _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
