summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcallum_linden <none@none>2014-10-17 20:25:31 -0700
committercallum_linden <none@none>2014-10-17 20:25:31 -0700
commit86f49bec1b0cfacb1496d588f12788ae3f39204f (patch)
treed2c04439968d886a9118856d03c81f0a2edf448d
parent3d35d2f78da8a12336df3f12374d91614db2f035 (diff)
Update to build on Xcode 6.0: turn off warnings about unused functions from clang for tut package
-rwxr-xr-xindra/test/llpermissions_tut.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/test/llpermissions_tut.cpp b/indra/test/llpermissions_tut.cpp
index 8d8d47a667..32a016466d 100755
--- a/indra/test/llpermissions_tut.cpp
+++ b/indra/test/llpermissions_tut.cpp
@@ -28,7 +28,16 @@
#include <tut/tut.hpp>
#include "linden_common.h"
+
+#if LL_DARWIN
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wunused-function"
+#include "lltut.h"
+#pragma clang diagnostic pop
+#elif
#include "lltut.h"
+#endif
+
#include "message.h"
#include "llpermissions.h"