ffmpeg | branch: master | Matt Oliver <[email protected]> | Sat Feb 13 02:59:42 2021 +1100| [52cc323735ced6e8095cfd3acea0e36e35c76eb2] | committer: Timo Rothenpieler
configure: use no-narrowing for cuda-llvm compilation This fixes llvm compiler generating errors about narrowing conversion with recent releases. Signed-off-by: Timo Rothenpieler <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=52cc323735ced6e8095cfd3acea0e36e35c76eb2 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 336301cb40..98daa1a64a 100755 --- a/configure +++ b/configure @@ -6243,7 +6243,7 @@ fi if enabled cuda_nvcc; then nvccflags="$nvccflags -ptx" else - nvccflags="$nvccflags -S -nocudalib -nocudainc --cuda-device-only -include ${source_link}/compat/cuda/cuda_runtime.h" + nvccflags="$nvccflags -S -nocudalib -nocudainc --cuda-device-only -Wno-c++11-narrowing -include ${source_link}/compat/cuda/cuda_runtime.h" check_nvcc cuda_llvm fi _______________________________________________ ffmpeg-cvslog mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
