X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fcommon%2Femu.c;h=7385e159995423cdfc99eeda2b484da55d63502f;hb=d0eab7dae887dd75a33cfbb4c5a60f535d7fece3;hp=0a9f0890a5a2390ed88b6a1daadbeb65dbf539cb;hpb=9cdfc191b60cb8881552d01f84e21bdcbb48758d;p=picodrive.git diff --git a/platform/common/emu.c b/platform/common/emu.c index 0a9f089..7385e15 100644 --- a/platform/common/emu.c +++ b/platform/common/emu.c @@ -28,6 +28,10 @@ #include #include +#if defined(__GNUC__) && __GNUC__ >= 7 +#pragma GCC diagnostic ignored "-Wformat-truncation" +#endif + #ifndef _WIN32 #define PATH_SEP "/" #define PATH_SEP_C '/'