[vlc-devel] [PATCH] configure: workaround mingw32 missing crypto header testing if_nametoindex

Steve Lhomme robux4 at ycbcr.xyz
Thu Jun 18 10:48:19 CEST 2020


On 2020-06-18 10:36, Francois Cartegnie wrote:
> Le 18/06/2020 à 07:24, Steve Lhomme a écrit :
>> On 2020-06-17 20:04, Francois Cartegnie wrote:
>>> false negative due to test not compiling creating double decl conflict
>>>
>>> In file included from
>>> /opt/gcc-x86_64-w64-mingw32/x86_64-w64-mingw32/include/iprtrmib.h:9:0,
>>>                    from
>>> /opt/gcc-x86_64-w64-mingw32/x86_64-w64-mingw32/include/iphlpapi.h:17,
>>>                    from conftest.c:90:
>>>
>>> /opt/gcc-x86_64-w64-mingw32/x86_64-w64-mingw32/include/mprapi.h:865:3:
>>> error: unknown type name 'CERT_NAME_BLOB'
>>>
>>>      CERT_NAME_BLOB *certificateNames;
>>>
>>>      ^~~~~~~~~~~~~~
>>>
>>> packages from docker image:
>>
>> Which Docker image is this ? I'd like to inspect the headers to see
>> where the problem comes from.
> 
> registry.videolan.org/vlc-debian-win64   20190416180622
> 
> The difference with CI being the host distro

So it's not that image but a custom one ?

Anyway I'd rather not have code in master for a broken toolchain that we 
don't even want to use.

>>
>> So wincrypt.h is included.
> 
> It is but ignored and I don't either see a NO_CRYPT define

The other case is if you set the WINAPI_FAMILY to a non desktop value.

>> It is still done in current mingw-w64 master. So it seems that Docker
>> image is wrong. Or are you trying to build UWP with a (too) old mingw-w64 ?
> 
> 
> -- 
> Francois Cartegnie
> VideoLAN - VLC Developer
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
> 


More information about the vlc-devel mailing list