diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2009-09-24 13:46:02 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2009-09-24 13:46:02 -0400 |
commit | c3e8c1f738b14de74b23b3a7276ef4dc083c0887 (patch) | |
tree | 6b601693a7f1359374efba4d12faba40d84472ca /indra/newview/llvoavatar.cpp | |
parent | bd0c306752a5e54a5c29e1c2e43e4b655a4d8fff (diff) |
Disable MSVC "fatal warning" 4702 for boost::lexical_cast in Release build
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rw-r--r-- | indra/newview/llvoavatar.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index 018cce4b49..824e06284a 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.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 "llvoavatar.h" @@ -85,7 +91,12 @@ #include "llvoiceclient.h" #include "llvoicevisualizer.h" // Ventrella -#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; |