From dcd31144f51d697d8880f2e359a52395fb927f91 Mon Sep 17 00:00:00 2001 From: Drake Arconis <drake@alchemyviewer.org> Date: Wed, 27 Jan 2016 14:23:17 -0500 Subject: [PATCH] Supress boost warning --- indra/llmath/llcalcparser.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/indra/llmath/llcalcparser.h b/indra/llmath/llcalcparser.h index bc1b2b150d..dc8087050c 100755 --- a/indra/llmath/llcalcparser.h +++ b/indra/llmath/llcalcparser.h @@ -27,6 +27,10 @@ #ifndef LL_CALCPARSER_H #define LL_CALCPARSER_H +#if LL_WINDOWS +#pragma warning (push) +#pragma warning (disable : 4348) // compiler thinks might use uninitialized var, but no +#endif #include <boost/spirit/version.hpp> #if !defined(SPIRIT_VERSION) || SPIRIT_VERSION < 0x2010 #error "At least Spirit version 2.1 required" @@ -231,4 +235,7 @@ bool parse(Iterator &iter, } // end namespace expression +#if LL_WINDOWS +#pragma warning (pop) +#endif #endif // LL_CALCPARSER_H -- GitLab