From 966e080036a2d3aafa19ddeec634c048e1d2fd7e Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Fri, 13 Nov 2009 18:43:44 -0700 Subject: Disable unreachable code in boost/lexical_cast.hpp errors in Windows --- linden/indra/newview/llvoavatar.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'linden/indra/newview/llvoavatar.cpp') diff --git a/linden/indra/newview/llvoavatar.cpp b/linden/indra/newview/llvoavatar.cpp index 1fa7cf0..68c1dc3 100644 --- a/linden/indra/newview/llvoavatar.cpp +++ b/linden/indra/newview/llvoavatar.cpp @@ -83,7 +83,14 @@ #include "llvoiceclient.h" #include "llvoicevisualizer.h" // Ventrella +#if LL_WINDOWS + // Disable warning for unreachable code in boost/lexical_cast.hpp for Boost 1.36 -- McCabe + #pragma warning(disable : 4702) #include "boost/lexical_cast.hpp" + #pragma warning(default : 4702) +#else +#include "boost/lexical_cast.hpp" +#endif // [RLVa:KB] #include "llstartup.h" // [/RLVa:KB] -- cgit v1.1