RE: [Cppunit-devel] cppunit 1.8.0 issue
Brought to you by:
blep
From: Linder, S. <Ste...@us...> - 2003-06-16 14:53:32
|
Philippe, Thank-you for your reply. The g++ compiler that I am using did not have an exception flag, nor did it seem to have any similar flag. I have however verified that I am able to throw and catch c++ exceptions. I have tried to distill the problem further and have attached two different files (fail.cc and pass.cc) that demonstrate the problem that I have run into. In "fail.cc", CPPUNIT_ASSERT has bool parameter that is false and in "pass.cc" it is true. With these files are you able to recreate a core dump when "fail.cc" is run? Thanks, Steve -----Original Message----- From: Philippe Fremy [mailto:ph...@fr...] Sent: Monday, June 16, 2003 3:05 AM To: Linder, Steve Subject: Re: [Cppunit-devel] cppunit 1.8.0 issue On Friday 13 June 2003 22:30, Linder, Steve wrote: > Hi, > I am running into a problem with CPPUNIT_ASSERT. It runs fine if the > argument evaluates to true but core dumps if the argument evaluates to > false. Can you help me to get around this problem? I am running SunOS > 5.8 and a g+++ compiler. I had this problem once: I had forgotten to enable exception. You must compile with -exception. regards, PHilippe |