aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcommon
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llcommon')
-rw-r--r--linden/indra/llcommon/llerror.cpp7
-rw-r--r--linden/indra/llcommon/llerrorcontrol.h4
-rw-r--r--linden/indra/llcommon/llversionviewer.h2
3 files changed, 10 insertions, 3 deletions
diff --git a/linden/indra/llcommon/llerror.cpp b/linden/indra/llcommon/llerror.cpp
index 5c7c3cd..487907f 100644
--- a/linden/indra/llcommon/llerror.cpp
+++ b/linden/indra/llcommon/llerror.cpp
@@ -1170,6 +1170,10 @@ namespace LLError
1170 return s.shouldLogCallCounter; 1170 return s.shouldLogCallCounter;
1171 } 1171 }
1172 1172
1173#if LL_WINDOWS
1174 // VC80 was optimizing the error away.
1175 #pragma optimize("", off)
1176#endif
1173 void crashAndLoop(const std::string& message) 1177 void crashAndLoop(const std::string& message)
1174 { 1178 {
1175 // Now, we go kaboom! 1179 // Now, we go kaboom!
@@ -1182,6 +1186,9 @@ namespace LLError
1182 // Loop forever, in case the crash didn't work? 1186 // Loop forever, in case the crash didn't work?
1183 } 1187 }
1184 } 1188 }
1189#if LL_WINDOWS
1190 #pragma optimize("", on)
1191#endif
1185 1192
1186 std::string utcTime() 1193 std::string utcTime()
1187 { 1194 {
diff --git a/linden/indra/llcommon/llerrorcontrol.h b/linden/indra/llcommon/llerrorcontrol.h
index 2c36871..a97abef 100644
--- a/linden/indra/llcommon/llerrorcontrol.h
+++ b/linden/indra/llcommon/llerrorcontrol.h
@@ -82,9 +82,9 @@ namespace LLError
82 Control functions. 82 Control functions.
83 */ 83 */
84 84
85 typedef void (*FatalFunction)(const std::string& message); 85 typedef void(*FatalFunction)(const std::string& message);
86 void crashAndLoop(const std::string& message); 86 void crashAndLoop(const std::string& message);
87 // Default fatal funtion: divides by zero and loops forever 87 // Default fatal funtion: access null pointer and loops forever
88 88
89 void setFatalFunction(FatalFunction); 89 void setFatalFunction(FatalFunction);
90 // The fatal function will be called when an message of LEVEL_ERROR 90 // The fatal function will be called when an message of LEVEL_ERROR
diff --git a/linden/indra/llcommon/llversionviewer.h b/linden/indra/llcommon/llversionviewer.h
index 6ff2604..e027fad 100644
--- a/linden/indra/llcommon/llversionviewer.h
+++ b/linden/indra/llcommon/llversionviewer.h
@@ -34,7 +34,7 @@
34 34
35const S32 LL_VERSION_MAJOR = 1; 35const S32 LL_VERSION_MAJOR = 1;
36const S32 LL_VERSION_MINOR = 22; 36const S32 LL_VERSION_MINOR = 22;
37const S32 LL_VERSION_PATCH = 1; 37const S32 LL_VERSION_PATCH = 2;
38const S32 LL_VERSION_BUILD = 0; 38const S32 LL_VERSION_BUILD = 0;
39 39
40const char * const LL_CHANNEL = "Second Life Release"; 40const char * const LL_CHANNEL = "Second Life Release";