Status: New
Owner: liuj...@google.com
Labels: Type-Defect Priority-Medium

New issue 437 by robertgr...@gmail.com: Messages with std::string do not serialize in 64 bit compilation
http://code.google.com/p/protobuf/issues/detail?id=437

What steps will reproduce the problem?
1. Compile protobuf (C++) under visual studio for 64 bit target
2. Create a proto file with a message containing a string
3. Create a message and set the string attribute (Request.set_name("test")).
4. Try to serialize the message (Request.SerializeAsString)

What is the expected output? What do you see instead?
The message should serialize with no problems. However, an exception is thrown saying a BytesConsistencyError

What version of the product are you using? On what operating system?
2.4.1

Please provide any additional information below.

Example Message in Proto File

// Response
// This message contains constant settings stored in the service
message Temp_Message
{
   required string board_name = 1;
}

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to