* gcc version: 14.1.0 * build options: https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-ffmpeg/PKGBUIL... * compiler error: ffmpeg-6.1.1/libavutil/hwcontext_qsv.c:756:68: error: passing argument 3 of 'devmgr->lpVtbl->LockDevice' from incompatible pointer type [-Wincompatible-pointer-types] 756 | hr = IDirect3DDeviceManager9_LockDevice(devmgr, device_handle, &device, TRUE); | ^~~~~~~ | | | IDirect3DDevice9Ex ** ffmpeg-6.1.1/libavutil/hwcontext_qsv.c:756:68: note: expected 'IDirect3DDevice9 **' but argument is of type 'IDirect3DDevice9Ex **' ffmpeg-6.1.1/libavutil/hwcontext_qsv.c:770:49: error: passing argument 2 of 'device->lpVtbl->GetDirect3D' from incompatible pointer type [-Wincompatible-pointer-types] 770 | hr = IDirect3DDevice9Ex_GetDirect3D(device, &d3d9ex); | ^~~~~~~ | | | IDirect3D9Ex ** ffmpeg-6.1.1/libavutil/hwcontext_qsv.c:770:49: note: expected 'IDirect3D9 **' but argument is of type 'IDirect3D9Ex **' * downstream issue: https://github.com/msys2/MINGW-packages/issues/20891 * probable solution: https://github.com/msys2/MINGW-packages/pull/20930 Please feel free ask any further information I need to provide for fixing the issue. Thank you.
Am 17.05.24 um 15:32 schrieb Biswapriyo Nath:
* gcc version: 14.1.0 * build options: https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-ffmpeg/PKGBUIL... * compiler error:
ffmpeg-6.1.1/libavutil/hwcontext_qsv.c:756:68: error: passing argument 3 of 'devmgr->lpVtbl->LockDevice' from incompatible pointer type [-Wincompatible-pointer-types] 756 | hr = IDirect3DDeviceManager9_LockDevice(devmgr, device_handle, &device, TRUE);
what about trying the latest version instead 6.1.1 from last year when you use a compiler even newer than on Fedora 39?
what about trying the latest version instead 6.1.1 from last year when you use a compiler even newer than on Fedora 39?
The same issue was reported with 7.0 release https://trac.ffmpeg.org/ticket/11004. I am using msys2/mingw-w64 toolchain to compile ffmpeg. I guess the same compiler error should happen with any other gcc 14 irrespective of software distribution.
Am 17.05.24 um 17:58 schrieb Biswapriyo Nath:
what about trying the latest version instead 6.1.1 from last year when you use a compiler even newer than on Fedora 39?
The same issue was reported with 7.0 release https://trac.ffmpeg.org/ticket/11004. I am using msys2/mingw-w64 toolchain to compile ffmpeg. I guess the same compiler error should happen with any other gcc 14 irrespective of software distribution.
maybe - but it's nonsense to start a topic with an older version - the first thing you have to do in case of compiler errors is to try the latest version why? because it maybe already fixed and you waste everyobdys time playing yround and asking questions about outdated software
пт, 17 мая 2024 г., 20:02 Reindl Harald <h.reindl@thelounge.net>:
Am 17.05.24 um 17:58 schrieb Biswapriyo Nath:
what about trying the latest version instead 6.1.1 from last year when you use a compiler even newer than on Fedora 39?
The same issue was reported with 7.0 release https://trac.ffmpeg.org/ticket/11004. I am using msys2/mingw-w64 toolchain to compile ffmpeg. I guess the same compiler error should happen with any other gcc 14 irrespective of software distribution.
maybe - but it's nonsense to start a topic with an older version - the first thing you have to do in case of compiler errors is to try the latest version
why?
because it maybe already fixed and you waste everyobdys time playing yround and asking questions about outdated software _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
пт, 17 мая 2024 г., 20:02 Reindl Harald <h.reindl@thelounge.net>:
Am 17.05.24 um 17:58 schrieb Biswapriyo Nath:
what about trying the latest version instead 6.1.1 from last year when you use a compiler even newer than on Fedora 39?
The same issue was reported with 7.0 release https://trac.ffmpeg.org/ticket/11004. I am using msys2/mingw-w64 toolchain to compile ffmpeg. I guess the same compiler error should happen with any other gcc 14 irrespective of software distribution.
maybe - but it's nonsense to start a topic with an older version - the first thing you have to do in case of compiler errors is to try the latest version
why?
because it maybe already fixed and you waste everyobdys time playing yround and asking questions about outdated software
But regressions exists, so I usually try with versions I have at hand, if it fails - with newer and sometimes older versions too ... _______________________________________________
ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
Am 17.05.24 um 19:20 schrieb Andrew Randrianasulu:
maybe - but it's nonsense to start a topic with an older version - the first thing you have to do in case of compiler errors is to try the latest version
why?
because it maybe already fixed and you waste everyobdys time playing yround and asking questions about outdated software
But regressions exists, so I usually try with versions I have at hand, if it fails - with newer and sometimes older versions too ...
you have https://ffmpeg.org/releases/ and GIT when it comes ot build from source *always* at hand - period if you want to report something useful than note which versions you tried - but the first try to solve a problem is *always* try the latest version on this mailing list you usually only have to report latest GIT which i find idiotic at my own - but in find the same for e release tarball from the last year
participants (3)
-
Andrew Randrianasulu -
Biswapriyo Nath -
Reindl Harald