From 048149389cd9d216bd36a2ecde2076312c265c9e Mon Sep 17 00:00:00 2001 From: trav90 Date: Sun, 4 Feb 2018 12:12:38 -0600 Subject: Require at least GCC 4.9 to build --- mfbt/Compiler.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mfbt') diff --git a/mfbt/Compiler.h b/mfbt/Compiler.h index 1bd34d329..a4fb4b5f8 100644 --- a/mfbt/Compiler.h +++ b/mfbt/Compiler.h @@ -26,8 +26,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, 8, 0) -# error "mfbt (and Gecko) require at least gcc 4.8 to build." +# if !MOZ_GCC_VERSION_AT_LEAST(4, 9, 0) +# error "mfbt (and Goanna) require at least gcc 4.9 to build." # endif #elif defined(_MSC_VER) -- cgit v1.2.3 From 65c311a7ef443b953c4f618afc6b81578a5dea3b Mon Sep 17 00:00:00 2001 From: trav90 Date: Sun, 4 Feb 2018 12:31:30 -0600 Subject: Remove checks for GCC < 4.9 --- mfbt/Attributes.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'mfbt') diff --git a/mfbt/Attributes.h b/mfbt/Attributes.h index df6172f31..c875e3a8c 100644 --- a/mfbt/Attributes.h +++ b/mfbt/Attributes.h @@ -562,9 +562,7 @@ # define MOZ_HAVE_REF_QUALIFIERS #elif defined(__GNUC__) # include "mozilla/Compiler.h" -# if MOZ_GCC_VERSION_AT_LEAST(4, 8, 1) -# define MOZ_HAVE_REF_QUALIFIERS -# endif +# define MOZ_HAVE_REF_QUALIFIERS #endif #endif /* __cplusplus */ -- cgit v1.2.3