Opened 3 weeks ago

Last modified 3 weeks ago

#11022 new defect

Build failure on Win32 wrt GCC 14.1

Reported by: nanake Owned by:
Priority: normal Component: ffplay
Version: git-master Keywords:
Cc: nanake Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
How to reproduce:

./configure --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=i686-w64-mingw32- --arch=i686 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --disable-doc --enable-nonfree --disable-w32threads --enable-pthreads --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-libharfbuzz --enable-libfontconfig --enable-libvorbis --enable-opencl --enable-libvmaf --enable-amf --enable-avisynth --enable-chromaprint --enable-libdav1d --disable-libdavs2 --enable-decklink --enable-libdvdread --enable-libdvdnav --enable-libxevd --enable-libxeve --enable-ffnvcodec --enable-cuda-llvm --enable-libgme --enable-libkvazaar --enable-libaribcaption --enable-libass --enable-libbluray --enable-libfdk-aac --enable-libjxl --enable-liblc3 --enable-libmp3lame --enable-libopus --enable-librist --enable-libtheora --enable-vaapi --enable-libvpx --enable-libwebp --enable-libzmq --enable-libvpl --enable-openal --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-openssl --enable-libssh --enable-libsrt --disable-librav1e --enable-librubberband --disable-schannel --enable-sdl2 --enable-libsnappy --enable-libsoxr --disable-libsvtav1 --enable-libtwolame --disable-libuavs3d --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --disable-libxavs2 --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags= --extra-libs=

...

CC	fftools/ffplay.o
CC	fftools/ffprobe.o
fftools/ffplay_renderer.c: In function 'destroy':
fftools/ffplay_renderer.c:769:25: error: assignment to 'VkSurfaceKHR' {aka 'long long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
  769 |         ctx->vk_surface = NULL;
      |                         ^
AR	libavdevice/libavdevice.a
make: *** [ffbuild/common.mak:81: fftools/ffplay_renderer.o] Error 1
make: *** Waiting for unfinished jobs....

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Change History (1)

comment:1 by nanake, 3 weeks ago

Component: undeterminedffplay
Note: See TracTickets for help on using tickets.