From d7990bc9b2d906b18ee2b861fc0f0344147cfa05 Mon Sep 17 00:00:00 2001 From: callum_linden <none@none> Date: Tue, 21 Oct 2014 17:50:31 -0700 Subject: [PATCH] Update to build on Xcode 6.0 (fix unit tests): turn off warnings for multiple unused private members --- indra/llkdu/tests/llimagej2ckdu_test.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/indra/llkdu/tests/llimagej2ckdu_test.cpp b/indra/llkdu/tests/llimagej2ckdu_test.cpp index 3f627b65e1d..8ee6b16b929 100755 --- a/indra/llkdu/tests/llimagej2ckdu_test.cpp +++ b/indra/llkdu/tests/llimagej2ckdu_test.cpp @@ -28,7 +28,16 @@ #include "linden_common.h" // Class to test #include "llimagej2ckdu.h" + +#if LL_DARWIN +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wunused-private-field" +#include "llkdumem.h" +#pragma clang diagnostic pop +#elif #include "llkdumem.h" +#endif + #include "kdu_block_coding.h" // Tut header #include "lltut.h" -- GitLab