Status: New
Owner: ken...@google.com
Labels: Type-Defect Priority-Medium

New issue 170 by hellwolf.misty: Can't compile proto file using 'extend' feature
http://code.google.com/p/protobuf/issues/detail?id=170

What steps will reproduce the problem?
1. Compile the following code :
import "google/protobuf/descriptor.proto"

extend google.protobuf.MessageOptions {
  optional string my_option = 51234;
}

2. compile the code :
$ protoc 1.proto --cpp_out=out

3. I always get the following error:
1.proto:3:1: Expected ";".

What is the expected output? What do you see instead?
The code is from documentation, I expected it should work.

What version of the product are you using? On what operating system?
2.2.0 on both Windows XP and Fedora 12 Linux


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to