Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

pdbox: Silence a spurious warning with GCC9 on hosted ARM

(pdbox seems to trigger a lot of false warnings...)

Change-Id: Ia24aa7ece4d6389dbdb36b30729a9372f872b034

+8
+8
apps/plugins/pdbox/PDa/src/d_soundfile.c
··· 701 701 memcpy(aiffhdr->a_samprate, AIFF_splrate, sizeof(AIFF_splrate)); 702 702 memcpy(aiffdc->dc_id, datachunk_ID, sizeof(datachunk_ID)); 703 703 longtmp = swap4(datasize, swap); 704 + #if __GNUC__ == 9 // False positive with GCC9.5.0 705 + #pragma GCC diagnostic push 706 + #pragma GCC diagnostic ignored "-Wstringop-overflow" 707 + #pragma GCC diagnostic ignored "-Warray-bounds" 708 + #endif 704 709 memcpy(&aiffdc->dc_size, &longtmp, 4); 710 + #if __GNUC__ == 9 711 + #pragma GCC diagnostic pop 712 + #endif 705 713 headersize = AIFFPLUS; 706 714 } 707 715 else /* WAVE format */