lnvis

nanovg lightning network visualizer
git clone git://jb55.com/lnvis
Log | Files | Refs | README | LICENSE

commit 9a1e75e2d7ca1fe26629897d95062bcb1af6281f
parent af2fa14087e33717a9eb6e10199e5963cde84e4f
Author: William Casarin <jb55@jb55.com>
Date:   Fri,  3 Aug 2018 13:37:36 -0700

nanovg: silence stb_image warnings

Diffstat:
Mdeps/nanovg/nanovg.c | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/deps/nanovg/nanovg.c b/deps/nanovg/nanovg.c @@ -25,7 +25,13 @@ #define FONTSTASH_IMPLEMENTATION #include "fontstash.h" #define STB_IMAGE_IMPLEMENTATION + +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wmisleading-indentation" +#pragma GCC diagnostic ignored "-Wshift-negative-value" +#pragma GCC diagnostic ignored "-Wimplicit-fallthrough" #include "stb_image.h" +#pragma GCC diagnostic pop #ifdef _MSC_VER #pragma warning(disable: 4100) // unreferenced formal parameter