This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc problem for help


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/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]