mirror of
https://github.com/FunKey-Project/picodrive-irixxxx.git
synced 2026-04-01 17:52:59 +02:00
deal with some gcc7+ warnings
This commit is contained in:
@@ -15,6 +15,10 @@
|
||||
#include "file_stream_transforms.h"
|
||||
#endif
|
||||
|
||||
#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];
|
||||
|
||||
@@ -32,6 +32,10 @@
|
||||
#include "file_stream_transforms.h"
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__) && __GNUC__ >= 7
|
||||
#pragma GCC diagnostic ignored "-Wformat-truncation"
|
||||
#endif
|
||||
|
||||
#ifndef _WIN32
|
||||
#define PATH_SEP "/"
|
||||
#define PATH_SEP_C '/'
|
||||
|
||||
Reference in New Issue
Block a user