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

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 '/'