xine-lib build error on i686

Xavier Bachelot via xine-devel <[email protected]> Sat, 08 Feb 2025 00:00:35 +0100
Newsgroups gmane.comp.video.xine.devel
Message-ID <[email protected]>
Hi Torsten,

I'm not sure how much 32 bits is really useful these days, but I get 
this when building on i686:

wine/win32.c: In function 'expEnumDisplayMonitors':
wine/win32.c:2524:12: error: too many arguments to function 
'callback_proc'; expected 0, have 4
  2524 |     return callback_proc(0, dc, r, callback_param);
       |            ^~~~~~~~~~~~~ ~
wine/win32.c: In function 'expEnumWindows':
wine/win32.c:2624:9: error: too many arguments to function 
'callback_func'; expected 0, have 2
  2624 |     i = callback_func(0, callback_param);
       |         ^~~~~~~~~~~~~ ~
wine/win32.c:2625:10: error: too many arguments to function 
'callback_func'; expected 0, have 2
  2625 |     i2 = callback_func(1, callback_param);
       |          ^~~~~~~~~~~~~ ~
wine/win32.c: In function 'expCreateFileA':
wine/win32.c:3512:9: warning: ignoring return value of 'asprintf' 
declared with attribute 'warn_unused_result' [-Wunused-result]
  3512 |         asprintf(&tmp,"%s/%s",win32_def_path,x?(x+1):cs1);
       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:1228: wine/libwine_la-win32.lo] Error 1

Full log here:
https://kojipkgs.fedoraproject.org//work/tasks/9937/128959937/build.log

Regards,
Xavier