Comment #4 on issue 267 by srobbin...@gmail.com: vs2010 tuple name collisions
http://code.google.com/p/protobuf/issues/detail?id=267

I am also using VS 2010 (on windows 7, 64-bits). I tried updating to gtest 1.5.0 without success. The issues with tuple go away, but there are still over a hundred link errors of the form "xxx already defined in (some other lib)":

Error 2 error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned int)" (??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@I@Z) already defined in gtest.lib(gtest.obj) E:\src\protobuf-2.4.1\protobuf-2.4.1-gtest-1.5.0\vsprojects\msvcprt.lib(MSVCP100.dll) test_plugin Error 3 error LNK2005: "public: virtual __thiscall std::basic_streambuf<char,struct std::char_traits<char>
::~basic_streambuf<char,struct std::char_traits<char> >(void)"
(??1?$basic_streambuf@DU?$char_traits@D@std@@@std@@UAE@XZ) already defined in gtest.lib(gtest.obj) E:\src\protobuf-2.4.1\protobuf-2.4.1-gtest-1.5.0\vsprojects\msvcprt.lib(MSVCP100.dll) test_plugin Error 4 error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::flush(void)" (?flush@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV12@XZ) already defined in gtest.lib(gtest.obj) E:\src\protobuf-2.4.1\protobuf-2.4.1-gtest-1.5.0\vsprojects\msvcprt.lib(MSVCP100.dll) test_plugin


--
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.

Reply via email to