[Qtunit-devel] Little Namespace problem
Brought to you by:
gbevin
|
From: Christoph B. <bar...@gm...> - 2002-03-06 21:30:14
|
Hello, I've just downloaded QtUnit and tried to compile it both with intels icc and g++ 3.0.4, but they won't compile it, because exception is in the std namespace. After adding using namespace std; in QtUnitException.h everything compiled with intels compiler. g++ gave me the error In file included from framework/QtUnitException.cpp:2: framework/QtUnitException.h:18: looser throw specifier for `virtual be_theleaf_qtunit::QtUnitException::~QtUnitException()' /home/ponto/software/gcc/include/g++-v3/exception:53: overriding `virtual std::exception::~exception() throw ()' I had no time to test it yet. But it looks promising Ponto |