Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scalar types double,float,uint32,uint64,fixed32,fixed64,sfixed32,sfixed64 not working #12

Open
GoogleCodeExporter opened this issue Feb 2, 2016 · 3 comments

Comments

@GoogleCodeExporter
Copy link

When I use the scalar types of double, float, uint32, uint64, fixed32,
fixed64, sfixed32, or sfixed64 it throws the error "Protofile type XXXX
unknown!"

Expected:
I assume it should treat those as PBInt type (or be specifically coded if
needed)

Original issue reported on code.google.com by mrst...@gmail.com on 12 Mar 2010 at 11:53

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Uncaught exception 'Exception' with message 'Protofile type uint32 
unknown!',how to deal it

Original comment by calvin...@gmail.com on 30 Dec 2013 at 3:28

@GoogleCodeExporter
Copy link
Author

check definition of this array scalar_types。as:
array('double', 'float', 'int32' => 'PBInt', 'int64' => 'PBInt',
                              'uint32', 'uint64', 'sint32' => 'PBSignedInt', 'sint64' => 'PBSignedInt',
                              'fixed32', 'fixed64', 'sfixed32', 'sfixed64',
                              'bool' => 'PBBool', 'string' => 'PBString', 'bytes' => 'PBString');
u can modify 'uint32' to 'uint32' => 'PBInt'

Original comment by boboxu84@gmail.com on 21 Feb 2014 at 3:31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant