Updates:
        Status: Accepted

Comment #1 on issue 371 by [email protected]: GeneratedMessageTest.MergeFromSelf CHECK failed: (&from) != (this)
http://code.google.com/p/protobuf/issues/detail?id=371

gtest-1.6.0 have known issues working with protobuf tests. Since 2.4.1, protobuf changes the CHECK() in test to throw std::exception by default instead of exit(1), which fails the gtest death check.

Workarounds:
1) use gtest-1.5 (the only version works with vs2010)
2) hack src\google\protobuf\stub\common.h by commenting out the #define PROTOBUF_USE_EXCEPTION block.

The svn head actually already points to gtest-1.5, however this doesn't work with MinGW32, as gtest-1.5 uses a non-portal nanosleep syscall, sigh.. In the next release, we will make the PROTOBUF_USE_EXCEPTION configurable, and disable the exceptions in unittest, so vs2010 should work with gtest1.6

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