Skip to content

C++14 requirement error using Bazel 6.3.2 and earlier #18

@jty2

Description

@jty2

Since 43d9a76, C++14 is needed to build absl.

When using Bazel 6.3.2, I get this error when building fleetbench/proto:proto_benchmark

external/com_google_absl/absl/base/policy_checks.h:79:2: error: "C++ versions less than C++14 are not supported."

because Bazel 6.3.2 explicitly sets -std=c++0x, so it will not work.

I think this means the minimum requirement is now Bazel 6.4.0 because it sets -std=c++14 due to #bazelbuild/bazel#19794.

Would you please update the Fleetbench documentation to reflect this requirement, or provide a workaround for Bazel 6.3.2 and earlier?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions