Snippets for alsa-plugins 1.2.12 from Fedora ppc64le
Sourced from https://kojipkgs.fedoraproject.org/packages/alsa-plugins/1.2.12/8.fc45/data/logs/ppc64le/build.log.
-
pcm_oss.c:107:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 107 | read(oss->fd, &tmp, 0); | ^~~~~~~~~~~~~~~~~~~~~~ -
ctl_oss.c:417:9: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 15 [-Wstringop-truncation] 417 | strncpy(oss->ext.id, mixinfo.id, sizeof(oss->ext.id) - 1); | ^ -
ctl_oss.c:419:9: warning: 'strncpy' output may be truncated copying 31 bytes from a string of length 31 [-Wstringop-truncation] 419 | strncpy(oss->ext.name, mixinfo.name, sizeof(oss->ext.name) - 1); | ^ -
pcm_jack.c:135:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 135 | write(jack->fd, &buf, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
pulse.c:255:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 255 | write(p->thread_fd, &x, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
ctl_pulse.c:788:9: warning: 'strncpy' output truncated copying 15 bytes from a string of length 17 [-Wstringop-truncation] 788 | strncpy(ctl->ext.driver, "PulseAudio plugin", | ^ -
pcm_a52.c:1159:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1159 | rec->codec = avcodec_find_encoder_by_name(avcodec); | ^ -
pcm_a52.c:1161:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1161 | rec->codec = avcodec_find_encoder_by_name("ac3_fixed"); | ^ -
pcm_a52.c:1163:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1163 | rec->codec = avcodec_find_encoder_by_name("ac3"); | ^ -
pcm_a52.c:1166:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1166 | rec->codec = avcodec_find_encoder(AV_CODEC_ID_AC3); | ^ -
pcm_a52.c:1205:9: warning: 'sample_fmts' is deprecated [-Wdeprecated-declarations] 1205 | rec->av_format = rec->codec->sample_fmts[0]; | ^~~ -
arcam_av.c:519:9: warning: 'strncpy' specified bound 107 equals destination size [-Wstringop-truncation] 519 | strncpy(&address.sun_path[1], port, sizeof(address.sun_path) - 1); | ^ -
arcam_av.c:620:9: warning: 'strncpy' specified bound 107 equals destination size [-Wstringop-truncation] 620 | strncpy(&address.sun_path[1], port, sizeof(address.sun_path) - 1); | ^