From 2cade632b475ecc1a115692ec44bbb36a447ce8b Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Wed, 27 Dec 2017 23:54:34 +0100 Subject: nxcompshad: silence GCC warnings Fixes ArcticaProject/nx-libs#572 --- nxcompshad/src/Logger.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nxcompshad/src/Logger.h') diff --git a/nxcompshad/src/Logger.h b/nxcompshad/src/Logger.h index 37b378cb2..876cb0432 100644 --- a/nxcompshad/src/Logger.h +++ b/nxcompshad/src/Logger.h @@ -29,6 +29,9 @@ #include #include +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wformat-nonliteral" + // // Error handling macros. // @@ -164,4 +167,6 @@ static inline void logDump(const char *name, const char *data, int size) #endif } +#pragma GCC diagnostic pop + #endif /* Logger_H */ -- cgit v1.2.3