[protobuf] Only in Release mode, Application crashes with Debug Assertion Failed ... Expression: string iterator not dereferencable

2010-01-12 Thread read.the news
Hi all, Happy new year and thanks for providing protobuf as an open-source project! We thought the previous days of migrating from 2.2.0a to 2.3.0, so yesterday this task has been started. We have the following setup for our application: - Windows XP SP3 - C++, Visual Studio 2008, Release

[protobuf] Issue 154 in protobuf: Generate operator =() implementatoin for messages.

2010-01-12 Thread protobuf
Status: New Owner: ken...@google.com Labels: Type-Defect Priority-Medium New issue 154 by huas.su: Generate operator =() implementatoin for messages. http://code.google.com/p/protobuf/issues/detail?id=154 The C++ class generated by protoc for a message doesn't implement an operator = ()

Re: [protobuf] Message limit

2010-01-12 Thread Jason Hsueh
The limit applies to the data source from which a message is parsed. So if you want to parse a serialization of Foo, it applies to Foo. But if you parse a bunch of Bar messages one by one, and add them individually to Bar, then the limit only applies to each individual Bar. You can change the

Re: [protobuf] Message limit

2010-01-12 Thread Kenton Varda
But you should consider a design that doesn't require you to send enormous messages. Protocol buffers are not well-optimized for this sort of use. For data stored on disk, consider storing multiple records in a RecordIO file. For data passed over Stubby, consider streaming it in multiple

[protobuf] Re: Issue 154 in protobuf: Generate operator =() implementatoin for messages.

2010-01-12 Thread protobuf
Updates: Status: WorkingAsIntended Comment #1 on issue 154 by ken...@google.com: Generate operator =() implementatoin for messages. http://code.google.com/p/protobuf/issues/detail?id=154 I think you mean operator==(). We intentionally chose not to include comparison, as we find it

[protobuf] Re: Issue 122 in protobuf: Two test failures on Windows

2010-01-12 Thread protobuf
Comment #12 on issue 122 by ken...@google.com: Two test failures on Windows http://code.google.com/p/protobuf/issues/detail?id=122 That is, you need to specify the full path of the .proto file, which should start with some directory in the proto_path.

[protobuf] Re: Issue 122 in protobuf: Two test failures on Windows

2010-01-12 Thread protobuf
Comment #13 on issue 122 by ken...@google.com: Two test failures on Windows http://code.google.com/p/protobuf/issues/detail?id=122 Err, remove the That is, from the start of that post. -- You received this message because you are listed in the owner or CC fields of this issue, or because you

[protobuf] Re: Issue 154 in protobuf: Generate operator =() implementatoin for messages.

2010-01-12 Thread protobuf
Comment #3 on issue 154 by huas.su: Generate operator =() implementatoin for messages. http://code.google.com/p/protobuf/issues/detail?id=154 Thanks for your comments. I think message1.SerializeAsString() == message2.SerializeAsString() is acceptable. -- You received this message because

[protobuf] Re: Issue 154 in protobuf: Generate operator =() implementatoin for messages.

2010-01-12 Thread protobuf
Comment #2 on issue 154 by huas.su: Generate operator =() implementatoin for messages. http://code.google.com/p/protobuf/issues/detail?id=154 Thanks for your comments. I think message1.SerializeAsString() == message2.SerializeAsString() is acceptable. -- You received this message because