deal with some gcc7+ warnings

This commit is contained in:
notaz 2019-12-07 21:40:24 +02:00
parent 29cdf77cf3
commit d0eab7dae8
4 changed files with 10 additions and 2 deletions

@ -1 +1 @@
Subproject commit 5fc93bddb71461abb7619cf506d6f15ba8a675f3
Subproject commit 94a9d9a888e72cbfa4db12113cd113cf5e154f7f

View file

@ -11,6 +11,10 @@
#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];

View file

@ -28,6 +28,10 @@
#include <pico/pico_int.h>
#include <pico/patch.h>
#if defined(__GNUC__) && __GNUC__ >= 7
#pragma GCC diagnostic ignored "-Wformat-truncation"
#endif
#ifndef _WIN32
#define PATH_SEP "/"
#define PATH_SEP_C '/'

@ -1 +1 @@
Subproject commit f8cd6a082bb9c228397a0436f28818b74d8e9636
Subproject commit 795b71c571518b310a22138141bb6d1cd08d85f6