IFeelBloated / vapoursynth-mvtools-sf

Single Precision MVTools
10 stars 2 forks source link

Compilation with MingW64 gcc/g++ v10.1.0 #19

Closed pat357 closed 4 years ago

pat357 commented 4 years ago

I got this issue when trying to compile this package. I reported it also in the the vsfilterScript repo because the breaking error seems to be in the code from vsfilterScript:

Found ninja.EXE-1.10.0 at H:\Mingw645\msys64\mingw64\bin/ninja.EXE
ninja: Entering directory `build'
[1/2] Compiling C++ object vapoursynth-mvtools-sf@sha/src_EntryPoint.cxx.obj
FAILED: vapoursynth-mvtools-sf@sha/src_EntryPoint.cxx.obj
g++.bat @vapoursynth-mvtools-sf@sha/src_EntryPoint.cxx.obj.rsp
In file included from H:/Mingw645/local64/include/vsFilterScript/Interface.vxx:3,
                 from ../src/EntryPoint.cxx:1:
H:/Mingw645/local64/include/vsFilterScript/Buffer.vxx: In constructor 'Buffer<PixelType>::Buffer(auto:126, auto:127)':
H:/Mingw645/local64/include/vsFilterScript/Buffer.vxx:14:51: error: 'aligned_alloc' is not a member of 'std'; did you mean 'aligned_union'?
   14 |   auto Origin = reinterpret_cast<PixelType*>(std::aligned_alloc(32, Stride * Height * sizeof(PixelType)));
      |                                                   ^~~~~~~~~~~~~
      |                                                   aligned_union

full report see: https://github.com/IFeelBloated/vsFilterScript/issues/3