setjmp / longjmp
ketmar via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Apr 27 02:41:58 PDT 2015
On Sun, 26 Apr 2015 21:45:41 +0100, Stewart Gordon wrote:
> On 26/04/2015 06:56, ketmar wrote:
> <snip>
>> you shouldn't use setjmp/longjmp in D. use exceptions instead.
>> something like this:
> <snip>
>
> True in the general case. Still, there must be some reason that trying
> it in D causes an AV (even if I disable the GC). I remain curious about
> what that reason is.
i believe this has something to do with exception frames. but it needs
further investigation.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20150427/e95a3507/attachment.sig>
More information about the Digitalmars-d-learn
mailing list