My GNU Tools version information is:
binutils-2.16.92
gcc-4.1-20060407
newlib-1.14.0
My test program is :
class A
{
public:
private:
char string[SIZEOFOBJ];
};
void test(void)
{
A obj;
try
{
throw obj;
}
catch ( A &e )
{
printf("exception !\n");
}
}
when SIZEOFOBJ <= 68, the result is correct,however,when SIZEOFOBJ > 68,the
program crashed.
I spent more than one month to attemp to solve the problem,but I failed.
Can anyone give me a hand on the problem?
Thank you very much!
yours
David Wong
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn