Closed machinekoder closed 7 years ago
This would require the package to be changed to machinetalk.protobuf
in the .proto
files. It shouldn't have an effect on the Python stuff, however, it would require some changes in the C++ users of Machinetalk. As far as I know, that's only Machinekit and QtQuickVcp so far.
At least that's what I think is the source of the warning.
The full warning is
[libprotobuf WARNING google/protobuf/compiler/java/java_file.cc:197] machinetalk/protobuf/firmware.proto:
The default outer class name, "Firmware", conflicts with a type declared in the proto file and an alternative outer class name is used: "FirmwareOuterClass".
To avoid this warning, please use the java_outer_classname option to specify a different outer class name for the .proto file.
Looking at https://developers.google.com/protocol-buffers/docs/javatutorial it appears that it is just warning you, that it has created a camel-cased java outer casename because one was not supplied, or the supplied one clashed.
I would be loathe to change anything that works currently, just to try an fit in around java more neatly. All these languages assume that only they are in use and make no concessions to try to fit into a multi-language environment.
There is a non-fatal warning about potential java outer class name conflict for
Firmware
since I have been able to build the repo.Not sure if this can be changed without requiring huge changes to the python naming, so that both use the same call names?