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]

Re: longjmp()/setjmp() difference between gcc 3.3 (Apple) and gcc 3.4.x


On Sat, Jan 22, 2005 at 06:41:32PM +0100, Remy X.O. Martin wrote:
> setjmp() needs to be called only once, I think..

Incorrect.  Once you leave the frame in which setjmp was called,
the contents of the jmpbuf become invalid.



r~


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