summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatarself.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2009-09-30 21:42:04 -0400
committerNat Goodspeed <nat@lindenlab.com>2009-09-30 21:42:04 -0400
commiteca30a22626b9a3e68e0e55f8da75614cd60d713 (patch)
treed27f30f138553c1f0fbc0e61ef0d2ae036d54662 /indra/newview/llvoavatarself.cpp
parentbc4444cd78067cbf11d3ffb210375a31a33f96bd (diff)
parent3f05d552fec9d4d9a17c9131f445a7db0eef561f (diff)
QAR-1619: merge up to 2009-09-26 viewer/viewer-20
Diffstat (limited to 'indra/newview/llvoavatarself.cpp')
-rw-r--r--indra/newview/llvoavatarself.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp
index 20b8750fbf..300eabf35c 100644
--- a/indra/newview/llvoavatarself.cpp
+++ b/indra/newview/llvoavatarself.cpp
@@ -30,6 +30,12 @@
* $/LicenseInfo$
*/
+#if LL_MSVC
+// disable warning about boost::lexical_cast returning uninitialized data
+// when it fails to parse the string
+#pragma warning (disable:4701)
+#endif
+
#include "llviewerprecompiledheaders.h"
#include "llvoavatarself.h"
@@ -84,7 +90,12 @@
#include "llvoicevisualizer.h" // Ventrella
#include "llappearancemgr.h"
-#include "boost/lexical_cast.hpp"
+#if LL_MSVC
+// disable boost::lexical_cast warning
+#pragma warning (disable:4702)
+#endif
+
+#include <boost/lexical_cast.hpp>
using namespace LLVOAvatarDefines;