[FFmpeg-devel] recent mingw-w64 break compilation by disabling nameless unions as default

Roger Pack rogerdpack2 at gmail.com
Mon Sep 9 20:38:01 CEST 2013


> recent mingw-w64 header oaidl.h that defines struct
> VARIANT was updated and now it does not define anymore
> _FORCENAMELESSUNION
>
> as result, libavdevice/dshow.c fails to compile:
>
> libavdevice/dshow.c: In function ‘dshow_cycle_devices’:
> libavdevice/dshow.c:280:12: error: ‘VARIANT’ has no member named ‘vt’
> libavdevice/dshow.c:285:36: error: ‘VARIANT’ has no member named ‘bstrVal’

Yeah I ran into that recently as well.  reverting to mingw-w64
r6172
for now was my work around.  I've pinged them about it, my guess is
it's a bug in mingw-w64, or do you think we should force NAMELESSUNION
in the meantime?


More information about the ffmpeg-devel mailing list