[protobuf] Get Field Names

2011-04-21 Thread Tavis Bones
I have a protocol buffers file created in c++ and I'm parsing it in java to create a CSV file. Is there an easy way to get the field name I'm dealing with or just use the method name to determine that? Also is there any utility functions that creates a csv file from a protocol buffer file?

[protobuf] Re: Issue 270 in protobuf: Precompiled protoc binary for OS X

2011-04-21 Thread Inderjeet Singh
I have OSX 10.5 and Xcode 3 installed. I followed the following instructions from README.txt (for Unix systems): $ ./configure $ make make fails with the error I listed above. Are there instructions specific to Mac OS? Thanks Inder On Apr 20, 11:45 am, Peter Ondruska

[protobuf] Re: CodedInputStream and Windows

2011-04-21 Thread Patrick
Thanks Jason. I'm a Linux guy trying to work on Windows, so this might just be my lack of knowledge. I get this error when flushing the stream (via the destructor that is called when exiting scope): msvcr100.dll!_crt_debugger_hook(int _Reserved) Line 65 C

[protobuf] Reusing builders. . .

2011-04-21 Thread David Dabbs
Hello. I have a PB builder I build and write to a stream from a servlet-based webapp thousands of times/second. Something like the following Protos.Response.Builder respBuilder = Protos.Response.newBuilder().setFoo(12).setBar(345); // etc. . . Protos.Response response =

[protobuf] Re: Issue 139 in protobuf: Go implementation of Protocol Buffers.

2011-04-21 Thread protobuf
Comment #4 on issue 139 by bradfitzgoog: Go implementation of Protocol Buffers. http://code.google.com/p/protobuf/issues/detail?id=139 See: http://code.google.com/p/goprotobuf/ -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To post to

Re: [protobuf] Re: Issue 270 in protobuf: Precompiled protoc binary for OS X

2011-04-21 Thread Pherl Liu
This is due to the gcc 3.x bug. A workaround is submitted in svn r380http://code.google.com/p/protobuf/source/detail?r=380. You can use svn head version, or patch the r380, or wait for the coming 2.4.1 release (soon). On Fri, Apr 22, 2011 at 2:19 AM, Inderjeet Singh inder...@gmail.com wrote: I

Re: [protobuf] Re: Issue 270 in protobuf: Precompiled protoc binary for OS X

2011-04-21 Thread Pherl Liu
Also, you can upgrade your gcc to 4.3+ if possible. On Fri, Apr 22, 2011 at 11:58 AM, Pherl Liu liuj...@google.com wrote: This is due to the gcc 3.x bug. A workaround is submitted in svn r380http://code.google.com/p/protobuf/source/detail?r=380. You can use svn head version, or patch the