Skip to content

osi3::InterfaceVersion::descriptor()->file()->options().GetExtension() sometimes causes build error on windows #655

Open
@fischerrob

Description

@fischerrob

I am currently not able to build the following code on windows, while for the linux build works just fine.
grafik

The following error message is shown:
in function google::protobuf::internal::MessageTypeTraits<osi3::InterfaceVersion>::Get(int, google::protobuf::internal::ExtensionSet const&, osi3::InterfaceVersion const&)': undefined reference to google::protobuf::internal::ExtensionSet::GetMessageA(int, google::protobuf::MessageLite const&) const'

The weird thing about this is that the function "SetVersion" is called multiple times, throughout our program, but only at one place it causes the build error. If I comment out the function call it will build without an issue, even though SetVersion is called at other places with the same arguments. So the function call that leads to the build error seems no different from the other calls.

Used osi version: 3.3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    HelpWantedI have tried my best - please help me!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions