summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcallum_linden <none@none>2014-10-17 16:53:40 -0700
committercallum_linden <none@none>2014-10-17 16:53:40 -0700
commit618bb404fcac4e2b489e5ce3e8bbedd0202a4f2c (patch)
treea3d03c729699ac3e721e357ae17259235d59859a
parent7359e9300a8188f453e7cff39af2cac3dd8831ee (diff)
Update to build on Xcode 6.0: turn off warnings about unused functions from clang for tut package
-rwxr-xr-xindra/test/llbuffer_tut.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/test/llbuffer_tut.cpp b/indra/test/llbuffer_tut.cpp
index a25fdebb7f..10a23c688a 100755
--- a/indra/test/llbuffer_tut.cpp
+++ b/indra/test/llbuffer_tut.cpp
@@ -26,7 +26,15 @@
* $/LicenseInfo$
*/
+#if LL_DARWIN
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wunused-function"
#include <tut/tut.hpp>
+#pragma clang diagnostic pop
+#elif
+#include <tut/tut.hpp>
+#endif
+
#include "linden_common.h"
#include "lltut.h"
#include "llbuffer.h"