diff options
author | callum_linden <none@none> | 2014-10-17 16:20:36 -0700 |
---|---|---|
committer | callum_linden <none@none> | 2014-10-17 16:20:36 -0700 |
commit | d20c719f03939a0e0220429647f5964fe6c8aeb2 (patch) | |
tree | bd794c36c4e7c3681026971ef1f53a577176ac32 /indra/test | |
parent | 5bf9343a41ca41cc8da8f00902304b012c8db61b (diff) |
Update to build on Xcode 6.0: turn off warnings about unused functions from clang for tut package
Diffstat (limited to 'indra/test')
-rwxr-xr-x | indra/test/llapp_tut.cpp | 4 | ||||
-rwxr-xr-x | indra/test/lltut.h | 5 |
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; |