From d20c719f03939a0e0220429647f5964fe6c8aeb2 Mon Sep 17 00:00:00 2001 From: callum_linden Date: Fri, 17 Oct 2014 16:20:36 -0700 Subject: Update to build on Xcode 6.0: turn off warnings about unused functions from clang for tut package --- indra/test/llapp_tut.cpp | 4 ++++ indra/test/lltut.h | 5 +++++ 2 files changed, 9 insertions(+) (limited to 'indra/test') 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 +#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 +#pragma clang diagnostic pop + #include class LLDate; -- cgit v1.2.3