From 471342933b19bb0648d4f339be6e160545013f51 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Fri, 18 Jan 2019 22:10:54 +0100 Subject: Fix: clang does not know about gnu_printf Found via Travis CI --- nxcompshad/src/Logger.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nxcompshad') diff --git a/nxcompshad/src/Logger.h b/nxcompshad/src/Logger.h index 876cb0432..e0b9997d7 100644 --- a/nxcompshad/src/Logger.h +++ b/nxcompshad/src/Logger.h @@ -46,17 +46,17 @@ class Logger { public: - void user(const char *format, ...) __attribute__((format(gnu_printf, 2, 3))); + void user(const char *format, ...) __attribute__((format(printf, 2, 3))); void error(const char *name, int error); - void warning(const char *name, const char *format, ...) __attribute__((format(gnu_printf, 3, 4))); + void warning(const char *name, const char *format, ...) __attribute__((format(printf, 3, 4))); - void test(const char *name, const char *format, ...) __attribute__((format(gnu_printf, 3, 4))); + void test(const char *name, const char *format, ...) __attribute__((format(printf, 3, 4))); void trace(const char *name); - void debug(const char *name, const char *format, ...) __attribute__((format(gnu_printf, 3, 4))); + void debug(const char *name, const char *format, ...) __attribute__((format(printf, 3, 4))); void dump(const char *name, const char *data, int size); }; -- cgit v1.2.3