[protobuf] Initial compiling with Visual Studio 2010

2010-05-24 Thread Karth
Hello, When I try to compile the solution found in vsprojects under Visual Studio 2010, I get multiple errors, the first of which is: Visual Studio 2010\Projects\protobuf-2.3.0\gtest\include\gtest/ internal/gtest-tuple.h(745): error C3855: 'std::tr1::tuple_element': template parameter '_Idx' is i

[protobuf] Re: Protocol buffers and large data sets

2010-05-24 Thread Terri
Hi, I've been struggling to figure out just exactly how to do the many smaller messages approach. I've implemented this strategy, which is working except for a byte limit problem: http://groups.google.com/group/protobuf/browse_thread/thread/038cc4ad000b4265/95981da7e07ce197?hide_quotes=no I also

Re: [protobuf] Re: Protocol buffers and large data sets

2010-05-24 Thread Kenton Varda
My guess is that you're using a single CodedInputStream to read all your input, repeatedly calling message.ParseFromCodedStream(). Instead, create a new CodedInputStream for each message. If you construct it on the stack, there is no significant overhead to doing this: while (true) { Coded

[protobuf] Issue 190 in protobuf: [C++] Change TextFormat::Printer::TextGenerator class from 'private' to 'protected'

2010-05-24 Thread protobuf
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 190 by marthaler: [C++] Change TextFormat::Printer::TextGenerator class from 'private' to 'protected' http://code.google.com/p/protobuf/issues/detail?id=190 What steps will reproduce the problem? 1. Derive the TextFormat::

[protobuf] Re: Issue 190 in protobuf: [C++] Change TextFormat::Printer::TextGenerator class from 'private' to 'protected'

2010-05-24 Thread protobuf
Updates: Status: WorkingAsIntended Comment #1 on issue 190 by ken...@google.com: [C++] Change TextFormat::Printer::TextGenerator class from 'private' to 'protected' http://code.google.com/p/protobuf/issues/detail?id=190 TextFormat::Printer is not intended to be subclassed. We do not

[protobuf] Re: Issue 190 in protobuf: [C++] Change TextFormat::Printer::TextGenerator class from 'private' to 'protected'

2010-05-24 Thread protobuf
Comment #2 on issue 190 by marthaler: [C++] Change TextFormat::Printer::TextGenerator class from 'private' to 'protected' http://code.google.com/p/protobuf/issues/detail?id=190 I understand. I just thought you could look at it since creating different output formats in C++ is much more conv

[protobuf] Re: Issue 190 in protobuf: [C++] Change TextFormat::Printer::TextGenerator class from 'private' to 'protected'

2010-05-24 Thread protobuf
Comment #3 on issue 190 by ken...@google.com: [C++] Change TextFormat::Printer::TextGenerator class from 'private' to 'protected' http://code.google.com/p/protobuf/issues/detail?id=190 Did you look at google::protobuf::io::Printer? -- You received this message because you are subscribed to t

[protobuf] Re: Issue 190 in protobuf: [C++] Change TextFormat::Printer::TextGenerator class from 'private' to 'protected'

2010-05-24 Thread protobuf
Comment #4 on issue 190 by marthaler: [C++] Change TextFormat::Printer::TextGenerator class from 'private' to 'protected' http://code.google.com/p/protobuf/issues/detail?id=190 I took a look at google::protobuf::io::Printer, in fact, I initially thought it was related to the google::protob