diff options
author | trav90 <travawine@palemoon.org> | 2022-04-16 21:12:11 -0500 |
---|---|---|
committer | trav90 <travawine@palemoon.org> | 2022-04-16 21:12:11 -0500 |
commit | 077b053ba4270d213b0476d8d27dc8ec9a5da3e7 (patch) | |
tree | 06ee13cfcbfca1a59c71e484c225465e9ef23bce | |
parent | 279ed4a9cf67740095672a6f62d7848627809993 (diff) | |
download | uxp-077b053ba4270d213b0476d8d27dc8ec9a5da3e7.tar.gz |
Issue #1531 follow-up - Bump minimum required GCC version in mfbt
-rw-r--r-- | mfbt/Compiler.h | 6 |
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) |