-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
proto3 syntax is not identified as proper syntax only proto2 #24
Comments
Your protoc is out of date. You need to update it. |
I see but how can update exactly, I mean I have executed what it's written in the steps and to get everything runs I should execute this command line: go get -u github.com/golang/protobuf/{proto,protoc-gen-go} is there any extra steps? |
No, that's only the Go parts. You need to update your protoc from https://github.com/google/protobuf. |
I got this message with the "latest" protoc from here: https://developers.google.com/protocol-buffers/docs/downloads I didn't notice that that version is from 2014. You might want to update it! |
Acknowledged. Following up to try to get that link updated. |
| have installed the plugin in my $GOPATH in order to give it a go, and I have created a .proto file with proto3 syntax where I got rid of all the required keywords and started the file with ' syntax="proto3" ', however I keep getting this compilation error message:
" Unrecognized syntax identifier "proto3". This parser only recognizes "proto2"."
P.S: when I change from proto3 to proto2 the compilation succeeded however I have of course to invoke the required keywords again because this feature is not supported in proto2.
The text was updated successfully, but these errors were encountered: