Labels: Type-Defect Priority-Medium
New issue 437 by robertgr...@gmail.com: Messages with std::string do not
serialize in 64 bit compilation
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?
Please provide any additional information below.
Example Message in Proto File
// This message contains constant settings stored in the service
required string board_name = 1;
You received this message because you are subscribed to the Google Groups "Protocol
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to
For more options, visit this group at