Are there some better ways to address warnings when compiling protocol buffer generated source file?
问题 For a simple proto file: message Person { required int32 id = 1; required string name = 2; optional string email = 3; } It's been compiled by protoc.exe and the results are used in an also simple test project, which basically does nothing but including the protoc generated files. I'm using the msvc10 to build the test project (x64), then it gave me a lot of warning: Warning 1 warning C4244: 'return' : conversion from '__int64' to 'int', possible loss of data D:\Work\protobuf-trunk\src\google