On 2017/5/3 6:23, Mateusz wrote:
> W dniu 2017-05-02 o 13:08, Liu Hao pisze:
>> On 2017/5/2 18:38, Kai Tietz wrote:
>>> I think, it is worth a try.  In general it looks sensible.
>> As you wish.
>
> For GCC 7.1 and 6.3 the patch is OK.
>
> For GCC 5.4 is not -- error compiling ffmpeg:
> CC      libavdevice/dshow.o
> In file included from 
> f:\msys\m64-54\x86_64-w64-mingw32\include\combaseapi.h:156:0,
>                  from f:\msys\m64-54\x86_64-w64-mingw32\include\objbase.h:14,
>                  from f:\msys\m64-54\x86_64-w64-mingw32\include\ole2.h:17,
>                  from f:\msys\m64-54\x86_64-w64-mingw32\include\ocidl.h:12,
>                  from f:\msys\m64-54\x86_64-w64-mingw32\include\olectl.h:15,
>                  from f:\msys\m64-54\x86_64-w64-mingw32\include\dshow.h:28,
>                  from libavdevice/dshow_capture.h:33,
>                  from libavdevice/dshow.c:22:
> libavdevice/dshow.c: In function 'dshow_add_device':
> f:\msys\m64-54\x86_64-w64-mingw32\include\uuids.h:228:1: error: 
> 'FORMAT_VideoInfo':'selectany' attribute applies only to initial
> ized objects
>  
> OUR_GUID_ENTRY(FORMAT_VideoInfo,0x05589f80,0xc356,0x11ce,0xbf,0x01,0x00,0xaa,0x00,0x55,0x59,0x5a)
>  ^
> f:\msys\m64-54\x86_64-w64-mingw32\include\uuids.h:229:1: error: 
> 'FORMAT_VideoInfo2':'selectany' attribute applies only to initia
> lized objects
>  
> OUR_GUID_ENTRY(FORMAT_VideoInfo2,0xf72a76A0,0xeb0a,0x11d0,0xac,0xe4,0x00,0x00,0xc0,0xcc,0x16,0xba)
>  ^
> f:\msys\m64-54\x86_64-w64-mingw32\include\uuids.h:230:1: error: 
> 'FORMAT_WaveFormatEx':'selectany' attribute applies only to init
> ialized objects
>  
> OUR_GUID_ENTRY(FORMAT_WaveFormatEx,0x05589f81,0xc356,0x11ce,0xbf,0x01,0x00,0xaa,0x00,0x55,0x59,0x5a)
>  ^
Kai, should we revert it? We have to deal with the multiple definition 
error thereafter.


-- 
Best regards,
LH_Mouse


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to