You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running aprotoc.py to generate my header file, I get the following error:
Traceback (most recent call last):
File "aprotoc.py", line 953, in declarations[declaration].print_code(declarations)
File "aprotoc.py", line 682, in print_code field.get_type().print_building(field.get_name(True), declarations)
AttributeError: 'FloatingPointType' object has no attribute 'print_building'
In my .proto file I have a message with float fields such as:
message msg {
float a = 12;
float b = 13;
float c = 14;
float d = 15;
}
Is this not supported by the aprotoc.py script?
P.S. I have successfully generated a header file with this script for a .proto file which does not contain floats
The text was updated successfully, but these errors were encountered:
When running aprotoc.py to generate my header file, I get the following error:
Traceback (most recent call last):
File "aprotoc.py", line 953, in declarations[declaration].print_code(declarations)
File "aprotoc.py", line 682, in print_code field.get_type().print_building(field.get_name(True), declarations)
AttributeError: 'FloatingPointType' object has no attribute 'print_building'
In my .proto file I have a message with float fields such as:
message msg {
float a = 12;
float b = 13;
float c = 14;
float d = 15;
}
Is this not supported by the aprotoc.py script?
P.S. I have successfully generated a header file with this script for a .proto file which does not contain floats
The text was updated successfully, but these errors were encountered: