http://bugs.winehq.org/show_bug.cgi?id=58302
Bug ID: 58302 Summary: winedmo deprecation warnings during compilation Product: Wine Version: 10.8 Hardware: x86-64 OS: Linux Status: NEW Keywords: download, source Severity: trivial Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: imwellcushtymelike@gmail.com Distribution: Ubuntu
/home/test/wine-git/dlls/winedmo/unix_media_type.c: In function ‘wave_format_ex_init’: /home/test/wine-git/dlls/winedmo/unix_media_type.c:84:5: warning: ‘channels’ is deprecated [-Wdeprecated-declarations] 84 | format->nChannels = params->channels; | ^~~~~~ In file included from /usr/include/i386-linux-gnu/libavformat/avformat.h:314, from /home/test/wine-git/dlls/winedmo/unix_private.h:28, from /home/test/wine-git/dlls/winedmo/unix_media_type.c:26: /usr/include/i386-linux-gnu/libavcodec/codec_par.h:172:14: note: declared here 172 | int channels; | ^~~~~~~~ /home/test/wine-git/dlls/winedmo/unix_media_type.c: In function ‘audio_format_from_codec_params’: /home/test/wine-git/dlls/winedmo/unix_media_type.c:183:5: warning: ‘channels’ is deprecated [-Wdeprecated-declarations] 183 | if (!(channels = params->channels)) channels = 1; | ^~ /usr/include/i386-linux-gnu/libavcodec/codec_par.h:172:14: note: declared here 172 | int channels; | ^~~~~~~~ /home/test/wine-git/dlls/winedmo/unix_media_type.c:184:5: warning: ‘channel_layout’ is deprecated [-Wdeprecated-declarations] 184 | channel_mask = params->channel_layout; | ^~~~~~~~~~~~ /usr/include/i386-linux-gnu/libavcodec/codec_par.h:166:14: note: declared here 166 | uint64_t channel_layout; | ^~~~~~~~~~~~~~
I don't see these on Ubuntu Jammy but I do on Debian Stable, the latter having newer relevant libraries.