summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrav90 <travawine@palemoon.org>2022-04-16 21:12:11 -0500
committertrav90 <travawine@palemoon.org>2022-04-16 21:12:11 -0500
commit077b053ba4270d213b0476d8d27dc8ec9a5da3e7 (patch)
tree06ee13cfcbfca1a59c71e484c225465e9ef23bce
parent279ed4a9cf67740095672a6f62d7848627809993 (diff)
downloaduxp-077b053ba4270d213b0476d8d27dc8ec9a5da3e7.tar.gz
Issue #1531 follow-up - Bump minimum required GCC version in mfbt
-rw-r--r--mfbt/Compiler.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/mfbt/Compiler.h b/mfbt/Compiler.h
index 6478176e19..c97ce261ac 100644
--- a/mfbt/Compiler.h
+++ b/mfbt/Compiler.h
@@ -17,7 +17,7 @@
# define MOZ_IS_GCC 1
/*
* These macros 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)`.
+ * for gcc 7.1.0 or later, check `#if MOZ_GCC_VERSION_AT_LEAST(7, 1, 0)`.
*/
# define MOZ_GCC_VERSION_AT_LEAST(major, minor, patchlevel) \
((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) \
@@ -25,8 +25,8 @@
# define MOZ_GCC_VERSION_AT_MOST(major, minor, patchlevel) \
((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) \
<= ((major) * 10000 + (minor) * 100 + (patchlevel)))
-# if !MOZ_GCC_VERSION_AT_LEAST(4, 9, 0)
-# error "mfbt (and Goanna) require at least gcc 4.9 to build."
+# if !MOZ_GCC_VERSION_AT_LEAST(7, 1, 0)
+# error "mfbt (and Goanna) require at least gcc 7.1 to build."
# endif
#elif defined(_MSC_VER)