diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2014-12-05 08:48:10 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2014-12-05 08:48:10 -0500 |
commit | c54d102c8f7f336e3ad2144710e51062b5eeac97 (patch) | |
tree | 49954af2dd879f0c908ce41ae1411b54655cbcbe | |
parent | cfbc982b40ff90c180144eece5edcb4d42dcbc37 (diff) |
Wrap #pragma clang in #if __clang__, else VS produces fatal warnings.
-rwxr-xr-x | indra/test/lltut.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/test/lltut.h b/indra/test/lltut.h index b334fb51e2..9835565bb6 100755 --- a/indra/test/lltut.h +++ b/indra/test/lltut.h @@ -75,10 +75,14 @@ namespace tut // overloads declared above. // turn off warnings about unused functions from clang for tut package +#if __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wunused-function" +#endif #include <tut/tut.hpp> +#if __clang__ #pragma clang diagnostic pop +#endif // The functions BELOW this point actually consume tut.hpp functionality. namespace tut |