According to the Language Guide an associative map can be used in data
definition https://developers.google.com/protocol-buffers/docs/proto#maps
When I try using it on Windows 7 I am getting a compiler error on the left
angle bracket in "required map<uint32, bytes> properties = 1;"
entity.proto file content:
message EntityBuffer {
required map<uint32, bytes> properties = 1;
}
Command:
protoc --java_out=. entity.proto
Error
entity.proto:2:13: Expected field name.
protoc --version returns
libprotoc 2.6.1
I am a bit puzzled.
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.