Bug 1120620 - Bump the MFBT gcc requirement to 4.6; r=froydnj
☠☠ backed out by 50deb480e877 ☠ ☠
authorEhsan Akhgari <ehsan@mozilla.com>
Mon, 12 Jan 2015 15:39:39 -0500
changeset 250545 e891f69a7edcba068cd40d71de30001e9e3a86b6
parent 250544 671a52fff391a9fb805e3a05e7e337d89e8142d5
child 250546 73fcb9fa303df13dbd99891648e54aa677a259e5
push id4610
push userjlund@mozilla.com
push dateMon, 30 Mar 2015 18:32:55 +0000
treeherdermozilla-beta@4df54044d9ef [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1120620
milestone38.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 1120620 - Bump the MFBT gcc requirement to 4.6; r=froydnj
mfbt/Compiler.h
--- a/mfbt/Compiler.h
+++ b/mfbt/Compiler.h
@@ -18,18 +18,18 @@
 #  define MOZ_IS_GCC 1
    /*
     * This macro should simplify gcc version checking. For example, to check
     * for gcc 4.5.1 or later, check `#if MOZ_GCC_VERSION_AT_LEAST(4, 5, 1)`.
     */
 #  define MOZ_GCC_VERSION_AT_LEAST(major, minor, patchlevel)          \
      ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) \
       >= ((major) * 10000 + (minor) * 100 + (patchlevel)))
-#  if !MOZ_GCC_VERSION_AT_LEAST(4, 4, 0)
-#    error "mfbt (and Gecko) require at least gcc 4.4 to build."
+#  if !MOZ_GCC_VERSION_AT_LEAST(4, 6, 0)
+#    error "mfbt (and Gecko) require at least gcc 4.6 to build."
 #  endif
 
 #elif defined(_MSC_VER)
 
 #  undef MOZ_IS_MSVC
 #  define MOZ_IS_MSVC 1
 
 #endif