mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
pdbox: Silence false warning with GCC10
Change-Id: I0d5e7d74e9aa27ca21cde739389a040a83505cf7
This commit is contained in:
parent
472a6a69c6
commit
bf2320d23b
1 changed files with 1 additions and 1 deletions
|
@ -701,7 +701,7 @@ static int create_soundfile(t_canvas *canvas, const char *filename,
|
|||
memcpy(aiffhdr->a_samprate, AIFF_splrate, sizeof(AIFF_splrate));
|
||||
memcpy(aiffdc->dc_id, datachunk_ID, sizeof(datachunk_ID));
|
||||
longtmp = swap4(datasize, swap);
|
||||
#if __GNUC__ == 9 // False positive with GCC9.5.0
|
||||
#if __GNUC__ == 9 || __GNUC__ == 10 // False positive with GCC9 && GCC10
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wstringop-overflow"
|
||||
#pragma GCC diagnostic ignored "-Warray-bounds"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue