Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3c59cb84 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

C++17 is the default now.

Test: builds
Change-Id: I6814455e9ad2cdcf99ad66de38a3ad0bfb440d80
parent 67fe6f09
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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.
+0 −1
Original line number Diff line number Diff line
@@ -9,7 +9,6 @@ cc_defaults {
        "-Wno-nullability-completeness",
        "-Os",
    ],
    cpp_std: "gnu++17",

    local_include_dirs: ["include"],
}
+0 −3
Original line number Diff line number Diff line
@@ -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",
+0 −3
Original line number Diff line number Diff line
@@ -25,9 +25,6 @@ cc_defaults {
        "-Werror",
        "-Wno-unused-variable",
    ],
    cppflags: [
        "-std=gnu++1z",
    ],
}

cc_library {
+0 −1
Original line number Diff line number Diff line
@@ -35,7 +35,6 @@ init_cflags += \
    -Wall -Wextra \
    -Wno-unused-parameter \
    -Werror \
    -std=gnu++1z \

# --