1
0
mirror of synced 2024-12-01 02:37:18 +01:00

fix: Compile errors on platforms that don't support -Wstringop-overread yet

This commit is contained in:
WerWolv 2022-05-28 16:24:57 +02:00
parent 088205385f
commit 7bf94ffe42

View File

@ -4,6 +4,7 @@
// TODO: Workaround for weird issue picked up by GCC 12.1.0 and later. This seems like a compiler bug mentioned in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98465
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpragmas"
#pragma GCC diagnostic ignored "-Wrestrict"
#pragma GCC diagnostic ignored "-Wstringop-overread"
#include <map>