[protobuf] Issue 500 in protobuf: 2.5.0 build failed on i386-pc-solaris2.10

2013-04-16 Thread protobuf
Status: New Owner: liuj...@google.com Labels: Type-Defect Priority-Medium New issue 500 by kaisum.l...@gmail.com: 2.5.0 build failed on i386-pc-solaris2.10 http://code.google.com/p/protobuf/issues/detail?id=500 What steps will reproduce the problem? 1. ./autogen.sh 2. ./configure 3. make

[protobuf] Re: How to suppress javadoc warnings

2013-04-16 Thread Jonathannah
Easy fix. Put this line in FileGenerator::Generate, (java_file.cc) just after printing the package. printer-Print(\n@SuppressWarnings(\javadoc\)\n\n); On Sunday, April 14, 2013 7:48:13 AM UTC-7, David R wrote: The java code generated by protoc has numerous javadoc warnings. If

[protobuf] PB Buffer Error Can't Parse Message with 3 String Fields in Sequence

2013-04-16 Thread brsckap
I get the following error when I declare 3 string fields in a sequence in my protocol buffer input message: libprotobuf ERROR google/protobuf/message_lite.cc:123] Can't parse message of type tst.pb.testInput because it is missing required fields: strThree Sample message: package tst.pb.Test;

[protobuf] Protobuf-2.5.0 performance of java parser

2013-04-16 Thread kingsley . song
Well, I saw the changes of protobuf in version2.5, I was so excited to see that the performance of java deserialization promoted. But I test this new feature, and I found that it is worse than protobuf in version2.4. I don't know why. Here is my code of using new feature. Log log =

Re: [protobuf] Protobuf-2.5.0 performance of java parser

2013-04-16 Thread Feng Xiao
On Tue, Apr 16, 2013 at 3:18 AM, kingsley.s...@gmail.com wrote: Well, I saw the changes of protobuf in version2.5, I was so excited to see that the performance of java deserialization promoted. But I test this new feature, and I found that it is worse than protobuf in version2.4. I don't know

Re: [protobuf] PB Buffer Error Can't Parse Message with 3 String Fields in Sequence

2013-04-16 Thread Oliver Jowett
On Tue, Apr 16, 2013 at 4:43 PM, brsckap ped...@brsc.com wrote: std::ifstream inputStream; inputStream.open(pbInput); Text-mode open is corrupting your encoded message, probably. Oliver -- You received this message because you are subscribed to the Google Groups Protocol Buffers

[protobuf] Re: PB Buffer Error Can't Parse Message with 3 String Fields in Sequence

2013-04-16 Thread brsckap
That's it. Thanks, Oliver. inputStream.open(pbInput, std::ifstream::binary); did the trick. On Tuesday, April 16, 2013 11:43:57 AM UTC-4, brsckap wrote: I get the following error when I declare 3 string fields in a sequence in my protocol buffer input message: libprotobuf ERROR

[protobuf] Issue 501 in protobuf: Generated Java code exceeds code size limit due to repetitive adding to ExtensionRegistry

2013-04-16 Thread protobuf
Status: New Owner: liuj...@google.com Labels: Type-Defect Priority-Medium New issue 501 by compuwar...@gmail.com: Generated Java code exceeds code size limit due to repetitive adding to ExtensionRegistry http://code.google.com/p/protobuf/issues/detail?id=501 What steps will reproduce the