diff --git a/Source/deviceinfo/device_info/main.c b/Source/deviceinfo/device_info/main.c index ca057f7d..eb4bcba9 100644 --- a/Source/deviceinfo/device_info/main.c +++ b/Source/deviceinfo/device_info/main.c @@ -49,6 +49,11 @@ static void toHexString( } } +#if defined(__APPLE__) + #pragma clang diagnostic push + #pragma clang diagnostic ignored "-Wgnu-zero-variadic-macro-arguments" +#endif + #define Trace(fmt, ...) \ do { \ fprintf(stdout, "<< " fmt "\n", ##__VA_ARGS__); \