Re: [Cppunit-devel] Core dump using CPPUNIT_ASSERT_EQUAL on strings
Brought to you by:
blep
From: Baptiste L. <gai...@fr...> - 2002-06-01 11:39:01
|
From the stack trace, it seems that TestAssert.h:46 static std::string toString( const T& x ) { OStringStream ost; ost << x; return ost.str(); // << throw an exception... } Could you: - dump the exception - tell me what are the value of CPPUNIT_HAVE_SSTREAM CPPUNIT_HAVE_CLASS_STRSTREAM CPPUNIT_HAVE_STRSTREAM in the generated config file cppunit/config-auto.h. The problem is likely an OStringStream issue that depend on your configuration. Baptiste. ----- Original Message ----- From: "Dave Dribin" <da...@dr...> To: <cpp...@li...> Sent: Friday, May 31, 2002 2:31 AM Subject: [Cppunit-devel] Core dump using CPPUNIT_ASSERT_EQUAL on strings > Hello, > > I've come across a core dump while using CPPUNIT_ASSERT_EQUAL on > strings. I've attached a tarball with a few source files and a README > explaining how to reproduce it. I've attached the README, too. > > Note: I am not subscribed to the list, so please CC me on any replies. > > -Dave > |