This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc problem for help
- From: 王 刚伟 <gwwang10 at hotmail dot com>
- To: gcc at gcc dot gnu dot org
- Cc: wanggw10 at hotmail dot com
- Date: Wed, 10 Jan 2007 17:25:23 +0800
- Subject: gcc problem for help
- Bcc:
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 Explorer: http://explorer.msn.com/lccn/