Bug 1055675 - Work around MSVC2010 issue in trace-malloc. r=bsmedberg
authorGian-Carlo Pascutto <gpascutto@mozilla.com>
Tue, 19 Aug 2014 13:29:00 +0200
changeset 200508 436085b283b4437cd6182d08627ad033554c654c
parent 200507 79ce51162e77fb405563ef2fcc91a2fa33c0822a
child 200509 9605a571ca8ad581b903537906f99e0c449199e6
push id27345
push useremorley@mozilla.com
push dateWed, 20 Aug 2014 13:28:47 +0000
treeherdermozilla-central@1ddfd9afba40 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbsmedberg
bugs1055675
milestone34.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1055675 - Work around MSVC2010 issue in trace-malloc. r=bsmedberg
tools/trace-malloc/lib/nsTypeInfo.cpp
--- a/tools/trace-malloc/lib/nsTypeInfo.cpp
+++ b/tools/trace-malloc/lib/nsTypeInfo.cpp
@@ -9,16 +9,17 @@
 	
   Speculatively use RTTI on a random object. If it contains a pointer at offset 0
   that is in the current process' address space, and that so on, then attempt to
   use C++ RTTI's typeid operation to obtain the name of the type.
   
   by Patrick C. Beard.
  */
 
+#include <exception> /* Needed for MSVC2010 due to bug 1055675 */
 #include <typeinfo>
 #include <ctype.h>
 
 #include "nsTypeInfo.h"
 
 extern "C" void NS_TraceMallocShutdown();
 
 struct TraceMallocShutdown {