deal with some gcc7+ warnings
[picodrive.git] / platform / common / emu.c
index 0a9f089..7385e15 100644 (file)
 #include <pico/pico_int.h>\r
 #include <pico/patch.h>\r
 \r
+#if defined(__GNUC__) && __GNUC__ >= 7\r
+#pragma GCC diagnostic ignored "-Wformat-truncation"\r
+#endif\r
+\r
 #ifndef _WIN32\r
 #define PATH_SEP      "/"\r
 #define PATH_SEP_C    '/'\r