From c54d102c8f7f336e3ad2144710e51062b5eeac97 Mon Sep 17 00:00:00 2001 From: Nat Goodspeed Date: Fri, 5 Dec 2014 08:48:10 -0500 Subject: Wrap #pragma clang in #if __clang__, else VS produces fatal warnings. --- indra/test/lltut.h | 4 ++++ 1 file changed, 4 insertions(+) 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 +#if __clang__ #pragma clang diagnostic pop +#endif // The functions BELOW this point actually consume tut.hpp functionality. namespace tut -- cgit v1.2.3