Bug 1144155 - Part 2: Bump the MFBT GCC requirement to 4.7. r=glandium. a=sledru
authorBob Owen <bobowencode@gmail.com>
Thu, 19 Mar 2015 10:56:13 +0000
changeset 257862 75b29a50fa630af2916299335f8f4c94e1400162
parent 257861 ab5f08d31c49bde67772653067451aed787f65f9
child 257863 16babf5d700c31100392ce17c0132aad1d38ac9c
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)
reviewersglandium, sledru
bugs1144155
milestone38.0a2
Bug 1144155 - Part 2: Bump the MFBT GCC requirement to 4.7. r=glandium. a=sledru
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.7.1 or later, check `#if MOZ_GCC_VERSION_AT_LEAST(4, 7, 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, 6, 0)
-#    error "mfbt (and Gecko) require at least gcc 4.6 to build."
+#  if !MOZ_GCC_VERSION_AT_LEAST(4, 7, 0)
+#    error "mfbt (and Gecko) require at least gcc 4.7 to build."
 #  endif
 
 #elif defined(_MSC_VER)
 
 #  undef MOZ_IS_MSVC
 #  define MOZ_IS_MSVC 1
 
 #endif