Re: zero_copy_stream_unittest.cc doesn't compile with msvc 7.1/2003
OK, I'll make the #if check the version number in the next release. On Tue, Jul 7, 2009 at 12:15 AM, Cosmin Cremarenco < cosmin.cremare...@gmail.com> wrote: > > It is 1310 > > On Jul 6, 7:49 pm, Kenton Varda wrote: > > What's the _MSC_VER for that version? > > On Mon, Jul 6, 2009 at 10:37 AM, Cosmin Cremarenco < > > > > > > > > cosmin.cremare...@gmail.com> wrote: > > > > > It is Visual Studio 2003 - Version 7.1.6030. > > > I think the .1 minor comes from the installation of sp1 over 7.0 > > > > > Cosmin > > > > > On Jul 6, 7:33 pm, Kenton Varda wrote: > > > > This is with MSVC 7.1? Which version of Visual Studio does that > > > correspond > > > > to? I can never keep these straight. > > > > > > On Mon, Jul 6, 2009 at 7:27 AM, Cosmin Cremarenco < > > > > > > cosmin.cremare...@gmail.com> wrote: > > > > > > > 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 -~--~~~~--~~--~--~---
Re: zero_copy_stream_unittest.cc doesn't compile with msvc 7.1/2003
It is 1310 On Jul 6, 7:49 pm, Kenton Varda wrote: > What's the _MSC_VER for that version? > On Mon, Jul 6, 2009 at 10:37 AM, Cosmin Cremarenco < > > > > cosmin.cremare...@gmail.com> wrote: > > > It is Visual Studio 2003 - Version 7.1.6030. > > I think the .1 minor comes from the installation of sp1 over 7.0 > > > Cosmin > > > On Jul 6, 7:33 pm, Kenton Varda wrote: > > > This is with MSVC 7.1? Which version of Visual Studio does that > > correspond > > > to? I can never keep these straight. > > > > On Mon, Jul 6, 2009 at 7:27 AM, Cosmin Cremarenco < > > > > cosmin.cremare...@gmail.com> wrote: > > > > > 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 -~--~~~~--~~--~--~---
Re: zero_copy_stream_unittest.cc doesn't compile with msvc 7.1/2003
What's the _MSC_VER for that version? On Mon, Jul 6, 2009 at 10:37 AM, Cosmin Cremarenco < cosmin.cremare...@gmail.com> wrote: > > It is Visual Studio 2003 - Version 7.1.6030. > I think the .1 minor comes from the installation of sp1 over 7.0 > > Cosmin > > On Jul 6, 7:33 pm, Kenton Varda wrote: > > This is with MSVC 7.1? Which version of Visual Studio does that > correspond > > to? I can never keep these straight. > > > > On Mon, Jul 6, 2009 at 7:27 AM, Cosmin Cremarenco < > > > > > > > > cosmin.cremare...@gmail.com> wrote: > > > > > 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 -~--~~~~--~~--~--~---
Re: zero_copy_stream_unittest.cc doesn't compile with msvc 7.1/2003
It is Visual Studio 2003 - Version 7.1.6030. I think the .1 minor comes from the installation of sp1 over 7.0 Cosmin On Jul 6, 7:33 pm, Kenton Varda wrote: > This is with MSVC 7.1? Which version of Visual Studio does that correspond > to? I can never keep these straight. > > On Mon, Jul 6, 2009 at 7:27 AM, Cosmin Cremarenco < > > > > cosmin.cremare...@gmail.com> wrote: > > > 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 -~--~~~~--~~--~--~---
Re: zero_copy_stream_unittest.cc doesn't compile with msvc 7.1/2003
This is with MSVC 7.1? Which version of Visual Studio does that correspond to? I can never keep these straight. On Mon, Jul 6, 2009 at 7:27 AM, Cosmin Cremarenco < cosmin.cremare...@gmail.com> wrote: > > 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 -~--~~~~--~~--~--~---