summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2009-09-24 13:46:02 -0400
committerNat Goodspeed <nat@lindenlab.com>2009-09-24 13:46:02 -0400
commitc3e8c1f738b14de74b23b3a7276ef4dc083c0887 (patch)
tree6b601693a7f1359374efba4d12faba40d84472ca /indra/llcommon
parentbd0c306752a5e54a5c29e1c2e43e4b655a4d8fff (diff)
Disable MSVC "fatal warning" 4702 for boost::lexical_cast in Release build
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llallocator_heap_profile.cpp1
-rw-r--r--indra/llcommon/llevents.cpp3
2 files changed, 4 insertions, 0 deletions
diff --git a/indra/llcommon/llallocator_heap_profile.cpp b/indra/llcommon/llallocator_heap_profile.cpp
index d82ee9ed81..0a807702d0 100644
--- a/indra/llcommon/llallocator_heap_profile.cpp
+++ b/indra/llcommon/llallocator_heap_profile.cpp
@@ -38,6 +38,7 @@
// disable warning about boost::lexical_cast returning uninitialized data
// when it fails to parse the string
#pragma warning (disable:4701)
+#pragma warning (disable:4702)
#endif
#include <boost/algorithm/string/split.hpp>
diff --git a/indra/llcommon/llevents.cpp b/indra/llcommon/llevents.cpp
index aec9acc7ef..a6421ac696 100644
--- a/indra/llcommon/llevents.cpp
+++ b/indra/llcommon/llevents.cpp
@@ -41,6 +41,9 @@
#include "stringize.h"
#include "llerror.h"
#include "llsdutil.h"
+#if LL_MSVC
+#pragma warning (disable : 4702)
+#endif
/*****************************************************************************
* queue_names: specify LLEventPump names that should be instantiated as