summaryrefslogtreecommitdiff
path: root/absl/base
diff options
context:
space:
mode:
authorGravatar Derek Mauro <dmauro@google.com>2023-01-19 20:19:22 -0800
committerGravatar Copybara-Service <copybara-worker@google.com>2023-01-19 20:20:03 -0800
commit0d116682dd0e94dd97bbc483dd55437f626108e9 (patch)
tree08d5c97b1925f90bfa2bf60cc9a18890405d38d2 /absl/base
parent29b2a750258c7ba85204c121c6054aa2004b4818 (diff)
Update the Abseil minumum GCC version to GCC 7, which is
the earliest supported GCC version according to https://github.com/google/oss-policies-info/blob/main/foundational-cxx-support-matrix.md PiperOrigin-RevId: 503337021 Change-Id: Ibc7b2453b7aa30779b76e2a4ad918e39d0efcabe
Diffstat (limited to 'absl/base')
-rw-r--r--absl/base/policy_checks.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/absl/base/policy_checks.h b/absl/base/policy_checks.h
index 2626fb6a..b8cd4c94 100644
--- a/absl/base/policy_checks.h
+++ b/absl/base/policy_checks.h
@@ -50,11 +50,11 @@
#error "This package requires Visual Studio 2017 (MSVC++ 15.0) or higher."
#endif
-// We support gcc 5 and later.
+// We support GCC 7 and later.
// This minimum will go up.
#if defined(__GNUC__) && !defined(__clang__)
-#if __GNUC__ < 5
-#error "This package requires gcc 5 or higher."
+#if __GNUC__ < 7
+#error "This package requires GCC 7 or higher."
#endif
#endif