Skip to content

Build issues with protobuf 3.11 #1634

Description

@yoe

Trying to build ola on Debian unstable, I get errors related to protobuf, like so:

common/protocol/OlaService.pb.cpp:37:29: error: expected constructor, destructor, or type conversion before '(' token
    37 | GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);

For an example failing build, see https://salsa.debian.org/wouter/ola/-/jobs/699377

Not sure whether this is a bug in the Debian packaging of protobuf (GOOGLE_PROTOBUF_DECLARE_ONCE is declared in some "stub" header in the libprotobuf-dev package that doesn't seem to be included by the generated code), or whether it's the result of an API change. If the former, please just let me know and close this bug.

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions