Closed
Description
Describe the feature
The OSI library must offer the possibility that within a C++ program (one process) two or more different OSI versions can be used simultaneously as dynamic libraries (shared libraries).
This is not possible due to the "Custom Options" [1] in the current OSI version 3.X.X with the used FileOption (see [2]).
and leads to the following runtime error:
[libprotobuf FATAL external/com_google_protobuf/src/google/protobuf/extension_set.cc:93] Multiple extension registrations for type "google.protobuf.FileOptions", field number 81000.
unknown file: Failure
C++ exception with description "Multiple extension registrations for type "google.protobuf.FileOptions", field number 81000." thrown in the test body.
[1] https://developers.google.com/protocol-buffers/docs/proto#customoptions
[2]
Important note: As discussed a reminder for the v4.0 release (not backward compatible). This issue is uploaded by me on behalf of BMW.
@pmai @ThomasNaderBMW FYI