From 96f164e52b8f13d11a56c6dd0ad393e0e956f156 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Sat, 13 Dec 2014 18:15:10 +0100 Subject: [PATCH] test: silence some Clang warnings They only show up on OSX for some reason, though. PR-URL: https://github.com/libuv/libuv/pull/67 Reviewed-By: Ben Noordhuis --- test/task.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/task.h b/test/task.h index e890c77f..65feb425 100644 --- a/test/task.h +++ b/test/task.h @@ -39,6 +39,11 @@ # include /* setrlimit() */ #endif +#ifdef __clang__ +# pragma clang diagnostic ignored "-Wvariadic-macros" +# pragma clang diagnostic ignored "-Wc99-extensions" +#endif + #define TEST_PORT 9123 #define TEST_PORT_2 9124