summaryrefslogtreecommitdiff
path: root/indra/test
diff options
context:
space:
mode:
Diffstat (limited to 'indra/test')
-rwxr-xr-xindra/test/llapp_tut.cpp4
-rwxr-xr-xindra/test/lltut.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/indra/test/llapp_tut.cpp b/indra/test/llapp_tut.cpp
index aa5c0672e6..5dad838a44 100755
--- a/indra/test/llapp_tut.cpp
+++ b/indra/test/llapp_tut.cpp
@@ -25,7 +25,11 @@
* $/LicenseInfo$
*/
+// turn off warnings about unused functions from clang for tut package
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wunused-function"
#include <tut/tut.hpp>
+#pragma clang diagnostic pop
#include "linden_common.h"
#include "llapp.h"
diff --git a/indra/test/lltut.h b/indra/test/lltut.h
index 243e869be7..5428be3719 100755
--- a/indra/test/lltut.h
+++ b/indra/test/lltut.h
@@ -31,7 +31,12 @@
#include "is_approx_equal_fraction.h" // instead of llmath.h
+// turn off warnings about unused functions from clang for tut package
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wunused-function"
#include <tut/tut.hpp>
+#pragma clang diagnostic pop
+
#include <cstring>
class LLDate;