C++17 is the default now.

Test: builds
Change-Id: I6814455e9ad2cdcf99ad66de38a3ad0bfb440d80
This commit is contained in:
Elliott Hughes 2018-12-03 09:02:18 -08:00
parent 67fe6f09d5
commit 3c59cb8420
5 changed files with 1 additions and 10 deletions

View file

@ -25,7 +25,6 @@ cc_defaults {
"-Wvla",
],
rtti: true,
cpp_std: "gnu++17",
use_version_lib: true,
@ -72,7 +71,7 @@ cc_defaults {
"-DUNICODE=1",
"-D_UNICODE=1",
// -std=gnu++11 doesn't set _GNU_SOURCE on Windows.
// Unlike on Linux, -std=gnu++ doesn't set _GNU_SOURCE on Windows.
"-D_GNU_SOURCE",
// MinGW hides some things behind _POSIX_SOURCE.

View file

@ -9,7 +9,6 @@ cc_defaults {
"-Wno-nullability-completeness",
"-Os",
],
cpp_std: "gnu++17",
local_include_dirs: ["include"],
}

View file

@ -144,8 +144,6 @@ cc_binary {
static_libs: [
"libhealthhalutils",
],
cpp_std: "c++17",
}
cc_defaults {
@ -212,7 +210,6 @@ cc_library_host_static {
name: "libfastboot",
defaults: ["fastboot_host_defaults"],
cpp_std: "c++17",
srcs: [
"bootimg_utils.cpp",
"fastboot.cpp",

View file

@ -25,9 +25,6 @@ cc_defaults {
"-Werror",
"-Wno-unused-variable",
],
cppflags: [
"-std=gnu++1z",
],
}
cc_library {

View file

@ -35,7 +35,6 @@ init_cflags += \
-Wall -Wextra \
-Wno-unused-parameter \
-Werror \
-std=gnu++1z \
# --