mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
deal with some gcc7+ warnings
This commit is contained in:
parent
29cdf77cf3
commit
d0eab7dae8
4 changed files with 10 additions and 2 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit 5fc93bddb71461abb7619cf506d6f15ba8a675f3
|
Subproject commit 94a9d9a888e72cbfa4db12113cd113cf5e154f7f
|
|
@ -11,6 +11,10 @@
|
||||||
#include "cdd.h"
|
#include "cdd.h"
|
||||||
#include "cue.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)
|
static int handle_mp3(const char *fname, int index)
|
||||||
{
|
{
|
||||||
track_t *track = &cdd.toc.tracks[index];
|
track_t *track = &cdd.toc.tracks[index];
|
||||||
|
|
|
@ -28,6 +28,10 @@
|
||||||
#include <pico/pico_int.h>
|
#include <pico/pico_int.h>
|
||||||
#include <pico/patch.h>
|
#include <pico/patch.h>
|
||||||
|
|
||||||
|
#if defined(__GNUC__) && __GNUC__ >= 7
|
||||||
|
#pragma GCC diagnostic ignored "-Wformat-truncation"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
#define PATH_SEP "/"
|
#define PATH_SEP "/"
|
||||||
#define PATH_SEP_C '/'
|
#define PATH_SEP_C '/'
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit f8cd6a082bb9c228397a0436f28818b74d8e9636
|
Subproject commit 795b71c571518b310a22138141bb6d1cd08d85f6
|
Loading…
Add table
Add a link
Reference in a new issue