diff options
author | Benjamin Barenblat <bbaren@google.com> | 2022-07-12 22:28:24 -0400 |
---|---|---|
committer | Benjamin Barenblat <bbaren@google.com> | 2022-08-22 22:14:40 -0400 |
commit | 2d3219a143b5dae0fe85a7c2ceae72fab8c66864 (patch) | |
tree | f711312eb8674f3e7524f0ac0b102e01efbb88b3 /debian/tests | |
parent | 73fdf3fb48dd390f4c517c11eac0fc68d3f07388 (diff) | |
download | abseil-2d3219a143b5dae0fe85a7c2ceae72fab8c66864.tar.gz abseil-2d3219a143b5dae0fe85a7c2ceae72fab8c66864.tar.bz2 abseil-2d3219a143b5dae0fe85a7c2ceae72fab8c66864.zip |
Build in C++17 mode
Debian 12’s GCC will default to C++17, so start building Abseil in
C++17 mode. To maximize compatibility, continue to treat absl::any,
absl::optional, absl::string_view, and absl::variant as distinct types
rather than aliases for C++17 types in the std namespace.
Diffstat (limited to 'debian/tests')
-rwxr-xr-x | debian/tests/cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/tests/cmake b/debian/tests/cmake index 1eb04de9..43eb3408 100755 --- a/debian/tests/cmake +++ b/debian/tests/cmake @@ -32,7 +32,7 @@ EOF cat >CMakeLists.txt <<EOF cmake_minimum_required(VERSION 3.5) project(test CXX) -set(CMAKE_CXX_STANDARD 14) +set(CMAKE_CXX_STANDARD 17) add_executable(test test.cc) find_package(absl REQUIRED) target_link_libraries(test absl::strings) |