|
From: Christophe Prud'h. <pru...@MI...> - 2000-08-23 20:11:50
|
> Well, that mess was my fault -- I think the right figure is probably 4.
> By now, most the testsuite failures should have gone.
Well g++ 2.96 did a very good job at finding some issues in the code
especially for the exceptions.
one quick question if you don't mind:
- is a class forward declaration sufficient for exception
or is the class interface needed also?
class except;
class A
{
public:
void f() throw(except);
};
or
<full class definition for except via #include for example>
class A
{
public:
void f() throw(except);
};
it seems that g++ 2.96 likes the second one and rejects the first one
It seems that 2.96 now is very good at checking signature correctness !
bravo !
a Note for those who want to use g++ 2.96:
don't forget to add the gcc/g++ libraries path to the /etc/ld.so.conf if you
relocate the gcc tree to an unknow location to the linker (which is
/usr/local by default). Otherwise you will have undefined symbols.
regards
C.
--
Christophe Prud'homme |
MIT, 77, Mass Ave, Rm 3-243 | In theory, theory and practice
Cambridge MA 02139 | are the same. In practice they
Tel (Office) : (00 1) (617) 253 0229 | are different.
Fax (Office) : (00 1) (617) 258 8559 |
http://augustine.mit.edu/~prudhomm |
Following the hacker spirit
|