On Thu, Mar 05, 2015 at 05:46:13PM +0100, Julien Puydt wrote: > cdef GEN E > cdef long errnum > cdef jmp_buf env > iferr_env = &env > if setjmp (iferr_env[0]) != 0: > E = pari_err_last() > errnum = E[1] > _pari_err_handle(E) > cb_pari_err_recover(errnum) > > > Did I miss something about pari (in which case you can probably > help), or something about sage (in which case sage-devel's > mailing-list might help) ?
Where are you including this code ? This is the crucial point. I do not think it is possible to use setjmp in a subfunction like _pari_init_error_handling(). How does cb_pari_err_recover() work ? How does the old code worked ? Cheers, -- Bill. <ballo...@debian.org> Imagine a large red swirl here. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org