With protoc (the standard compiler), this should produce a simple error.
 Since Ken said he "got StackOverFlow exception", it sounds like he's using
some other compiler (not written in C++).

On Mon, Feb 7, 2011 at 10:26 AM, Pherl Liu <liuj...@google.com> wrote:

> You probably need to break up your proto files to eliminate the circular
> dependency.. (i.e. have multiple .proto files for a package, and only import
> necessary .proto files).
>
>
> On Mon, Feb 7, 2011 at 5:42 PM, Ken <ke.lane....@gmail.com> wrote:
>
>> Hi,
>>
>> I have two proto files: A.proto and B.proto. If I import package B in
>> A and import A in B, I got StackOverFlow exception during compiling.
>> Does anyone know any sulotion for it?
>>
>> Thanks,
>>
>> Ken
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Protocol Buffers" group.
>> To post to this group, send email to protobuf@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.
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To post to this group, send email to protobuf@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.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@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