Re: [protobuf] Merging a DynamicMessage into a GeneratedMessage

2012-08-23 Thread Oliver Jowett
On Wed, Aug 22, 2012 at 6:59 PM, Jason Hsueh wrote: > Is the descriptor you provide to to the DynamicMessage the same exact object > as the descriptor for the generated message? It looks like you are only > comparing against some descriptorMap, based on the name of the generated > type. > > If you

Re: [protobuf] add "implements Interface" to generated Java code

2012-08-23 Thread Kiamur
Hi Jason, thanks for the hints. I will look into them. I have not been aware of that topic being actually discussed here but I just took a look into it and I see that there are some concerns about this "feature" that I still have to understand thoroughly. I understand that it is necessary to p

[protobuf] Issue 412 in protobuf: protobuf does not build on 64-bit mac systems

2012-08-23 Thread protobuf
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 412 by ba...@adobe.com: protobuf does not build on 64-bit mac systems http://code.google.com/p/protobuf/issues/detail?id=412 What steps will reproduce the problem? 1. Build protobuf on a 64-bit mac system. What is the expe

[protobuf] Re: Merging a DynamicMessage into a GeneratedMessage

2012-08-23 Thread Kiran Karra
Hi Jason, Ok, so when I print out the actual object references for the DynamicMessage and the GeneratedMessage.Builder objects, I get the following: java.lang.IllegalArgumentException: Msg was withh reference com.google.protobuf.Descriptors$Descriptor@5675d86b; expected object reference com.goo

Re: [protobuf] Re: Merging a DynamicMessage into a GeneratedMessage

2012-08-23 Thread Jason Hsueh
So, what I left out of the first response was that I don't really see why you need to use DynamicMessage, if you're just going to merge it into a generated message. If your client gives you a builder, why not just parse the data directly into the builder instead of the generated message? As you me

Re: [protobuf] Re: Merging a DynamicMessage into a GeneratedMessage

2012-08-23 Thread Jason Hsueh
Should have been: > why not just parse the data directly into the builder instead of the dynamic message? -- 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 thi

[protobuf] Error /undefined reference to `_Unwind_Resume'/ when linking

2012-08-23 Thread mjetuljcek
Hi, everyone! I'm getting /undefined reference to `_Unwind_Resume'/ error when linking example program adressbok from C++ tutorial. I'm using MinGw g++ (GCC) 4.6.2 compiler on windows7 platform and protobuf 2.4.1. As i'm informd this should be incompatibility problem - protobuf library 2.4.1