Skip to content

supporting protobuf v22 and later(with abseil-cpp/C++17) #24369

@Kumataro

Description

@Kumataro

Describe the feature and motivation

Hello, The original issue is #23466 (comment).

Related #23791 (I'm sorry if this is duplicated.)

What is problem

When using external(not built-in) protobuf v22 and later, building dnn module is failed.

Reason

Because protobuf v22 has a few breaking changes. ( https://protobuf.dev/support/migration/#cpp-22 )

  • it drops supporting C++11.
  • it depends abseil-cpp
    • And std::string_view in abseil-cpp seems to request C++17 and later.

How to fix it ?

I believe.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions