Hi Erik,

On 01/30/15 01:10, Erik van Pienbroek wrote:
> Erik van Pienbroek schreef op vr 30-01-2015 om 00:54 [+0100]:
>> mingw-qt5-qtjsbackend-5.1.1-5
>>      ** Package failed to build while it succeeded during the previous mass 
>> rebuild **
>>      Package owner: epienbro
>>      Time to build: 2 minutes, 12 seconds
>>      Build logs: 
>> http://build1.vanpienbroek.nl/fedora-mingw-rebuild/20150130/mingw-qt5-qtjsbackend-5.1.1-5
> This is a new one and might be triggered by the localtime_s patch:
>
> /builddir/build/BUILD/qtjsbackend-opensource-src-5.1.1/src/3rdparty/v8/src/platform-win32.cc:
>  In function 'int localtime_s(tm*, const time_t*)':
> /builddir/build/BUILD/qtjsbackend-opensource-src-5.1.1/src/3rdparty/v8/src/platform-win32.cc:93:5:
>  error: redefinition of 'int localtime_s(tm*, const time_t*)'
>  int localtime_s(tm* out_tm, const time_t* time) {
>
> My first guess would be that this needs to be fixed in qtjsbackend as it
> shouldn't try to re-implement toolchain features.

Yeah, that sounds right. We previously declared those only if
MINGW_HAS_SECURE_API, now we do that unconditionally, so I guess the bug
was always there, but wasn't found because it was built without
MINGW_HAS_SECURE_API

>> mingw-SDL2-2.0.3-4
>>      ** Package failed to build while it succeeded during the previous mass 
>> rebuild **
>>      Package owner: maci
>>      Time to build: 1 minute, 24 seconds
>>      Build logs: 
>> http://build1.vanpienbroek.nl/fedora-mingw-rebuild/20150130/mingw-SDL2-2.0.3-4
>
> This also sounds like one which needs to be resolved in SDL2 itself:
>
> ../src/render/direct3d11/SDL_render_d3d11.c:94:5: error: unknown type
> name 'IDXGIFactory2'
>      IDXGIFactory2 *dxgiFactory;
>      ^
> ../src/render/direct3d11/SDL_render_d3d11.c:96:5: error: unknown type
> name 'ID3D11Device1'
>      ID3D11Device1 *d3dDevice;
>      ^
> ../src/render/direct3d11/SDL_render_d3d11.c:136:19: error: static
> declaration of 'IID_IDXGIDevice1' follows non-static declaration
>  static const GUID IID_IDXGIDevice1 = { 0x77db970f, 0x6276, 0x48ba,
> { 0xba, 0x28, 0x07, 0x01, 0x43, 0xb4, 0x39, 0x2c } };

Missing IDXGIFactory2 and ID3D11Device1 should be fixed in mingw-64 (and
Wine), duplicated IID_IDXGIDevice1 declaration seems like SDL2's fault.

Jacek

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to