Hi When compiling zero_copy_stream_unittest.cc from the last version 2.1.0 msvc complains about the type "_invalid_parameter_handler" (I don't think it is supported in 7.1): Compiling... zero_copy_stream_unittest.cc \tmp\protobuf-2.1.0-vc71\src\google\protobuf\io \zero_copy_stream_unittest.cc(475) : error C2146: syntax error : missing ';' before identifier 'old_handler_' \tmp\protobuf-2.1.0-vc71\src\google\protobuf\io \zero_copy_stream_unittest.cc(475) : error C2501: 'google::protobuf::io::`anonymous- namespace'::MsvcDebugDisabler::_invalid_parameter_handler' : missing storage-class or type specifiers \tmp\protobuf-2.1.0-vc71\src\google\protobuf\io \zero_copy_stream_unittest.cc(475) : error C2501: 'google::protobuf::io::`anonymous- namespace'::MsvcDebugDisabler::old_handler_' : missing storage-class or type specifiers
Changing the wrapping conditional compilation macro from "#if _MSC_VER" to "#if 0" fixes it. Best regards, Cosmin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---