Re: [protobuf] Re: c++: Print contents of a serialized file using its descriptor file

2010-04-05 Thread Jason Hsueh
On Fri, Apr 2, 2010 at 7:03 PM, Navin ng06d...@gmail.com wrote: Yay It works. Thanks a lot. I will post the complete solution for the AddressBook example, in case someone else faces the same issues as me. My only other question was , I have many different .proto files and hence I would

[protobuf] Re: VC++ fix: full paths

2010-04-05 Thread Kenton Varda
Sorry for the long delay. I've committed this as rev 324. I had to fix two problems: 1) You used tabs for indents. The protobuf code uses spaces. 2) Your change broke the unit test. I updated it. Thanks for the patch! On Tue, Mar 23, 2010 at 11:55 PM, Oleg Smolsky

Re: [protobuf] VC++ 2008 : Run-Time Check Failure #1

2010-04-05 Thread Kenton Varda
Revision 325 is equivalent to your patch, but I decided to arrange it a little differently. Thanks! Sorry for the long delay. On Wed, Mar 24, 2010 at 11:38 AM, Nathan McDaniel nmcdanie...@gmail.comwrote: Hi Kenton, The attached patch patches two files: - coded_stream.h: disables cast to

[protobuf] Support for std::basic_string?

2010-04-05 Thread skyork
I was wondering if there was any plans to support std::basic_string, as opposed to std::string? The reason I ask is because our code base uses a custom allocator for strings and hence our own string type (i.e. typedef std::basic_string... MyString), and the generated protocol buffer code is