notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
deal with some gcc7+ warnings
[picodrive.git]
/
platform
/
common
/
emu.c
diff --git
a/platform/common/emu.c
b/platform/common/emu.c
index
0a9f089
..
7385e15
100644
(file)
--- a/
platform/common/emu.c
+++ b/
platform/common/emu.c
@@
-28,6
+28,10
@@
#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