This is the mail archive of the gcc-help@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 Messenger: http://messenger.msn.com/cn



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