deal with some gcc7+ warnings
authornotaz <notasas@gmail.com>
Sat, 7 Dec 2019 19:40:24 +0000 (21:40 +0200)
committernotaz <notasas@gmail.com>
Sat, 7 Dec 2019 20:28:53 +0000 (22:28 +0200)
cpu/cyclone
pico/cd/cd_image.c
platform/common/emu.c
platform/libpicofe

index 5fc93bd..94a9d9a 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 5fc93bddb71461abb7619cf506d6f15ba8a675f3
+Subproject commit 94a9d9a888e72cbfa4db12113cd113cf5e154f7f
index ae2ef0c..5638c9b 100644 (file)
 #include "cdd.h"
 #include "cue.h"
 
+#if defined(__GNUC__) && __GNUC__ >= 7
+#pragma GCC diagnostic ignored "-Wformat-truncation"
+#endif
+
 static int handle_mp3(const char *fname, int index)
 {
   track_t *track = &cdd.toc.tracks[index];
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
index f8cd6a0..795b71c 160000 (submodule)
@@ -1 +1 @@
-Subproject commit f8cd6a082bb9c228397a0436f28818b74d8e9636
+Subproject commit 795b71c571518b310a22138141bb6d1cd08d85f6