Bug 881163 - Require gcc 4.5.2 for C++11 atomics, r=froydnj
authorTimothy B. Terriberry <tterribe@vt.edu>
Mon, 10 Jun 2013 09:17:00 -0700
changeset 145979 7f45910089be6d2c84f1bb45cce669328e41955c
parent 145978 252b1ac4d537267abe953b79957b308b00e6f032
child 145984 2aa799db735162d1ed9ffa11119206e82b1fdc58
push id2697
push userbbajaj@mozilla.com
push dateMon, 05 Aug 2013 18:49:53 +0000
treeherdermozilla-beta@dfec938c7b63 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs881163
milestone24.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 881163 - Require gcc 4.5.2 for C++11 atomics, r=froydnj
mfbt/Atomics.h
--- a/mfbt/Atomics.h
+++ b/mfbt/Atomics.h
@@ -42,17 +42,17 @@
 #  endif
 /*
  * Android uses a different C++ standard library that does not provide
  * support for <atomic>
  */
 #elif defined(__GNUC__) && !defined(__ANDROID__)
 #  include "mozilla/Compiler.h"
 #  if (defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L) && \
-      MOZ_GCC_VERSION_AT_LEAST(4, 5, 0)
+      MOZ_GCC_VERSION_AT_LEAST(4, 5, 2)
 #    define MOZ_HAVE_CXX11_ATOMICS
 #  endif
 #elif defined(_MSC_VER) && _MSC_VER >= 1700
 #  define MOZ_HAVE_CXX11_ATOMICS
 #endif
 
 namespace mozilla {