Re: [Cppunit-devel] CppUnit and gcc 3.2
Brought to you by:
blep
From: Gary G. <gr...@at...> - 2002-11-07 20:49:40
|
It looks like std::runtime_error destructor declares that it throws no exceptions, while the default destructor for the DynamicLibraryManagerException() does not. Adding such a definition fixed it for me. Patch attached. gary Dave Glowacki wrote: > Trying to build the latest CVS version of CppUnit using gcc 3.2 > results in this error message: > > In file included from DynamicLibraryManager.cpp:4: > ../../include/cppunit/plugin/DynamicLibraryManagerException.h:20: looser > throw specifier for `virtual CppUnit::DynamicLibraryManagerException::~DynamicL > ibraryManagerException()' /usr/local/include/c++/3.2/stdexcept:118: > overriding `virtual std::runtime_error::~runtime_error() throw ()' |