Comment #21 on issue 83 by [email protected]: protobuf does not compile cleanly in 64-bit mode in Visual Studio 2008
http://code.google.com/p/protobuf/issues/detail?id=83

For compatibility with existing code the size of size_t and long int are not the same when Visual C++ targets the X64 machine type and raises compilation warnings. For my project (adding protobuf support to a large very-large existing system) it was not safe to globally ignore 64-bit portability warnings.

I致e added #pragma warning conditional code to protoc to suppress 64-bit portability warnings for the scope of the generated files, and solve the problem without explicit support for MSVC being built into the core of protobuf.
Our user-patch has been submitted to [email protected]


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

Reply via email to