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

Richard Henderson rth@redhat.com
Sun Jan 23 00:54:00 GMT 2005


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~



More information about the Gcc mailing list