BetterC + Windows + setjmp longjmp

Diederik de Groot ddegroot at
Wed Sep 19 11:12:41 UTC 2018

On Wednesday, 19 September 2018 at 11:06:23 UTC, Diederik de 
Groot wrote:
> On Tuesday, 18 September 2018 at 19:45:18 UTC, SrMordred wrote:

> Only the exact size of the jmp_buf is important (not the 
> details about the content). We only call a function with it, we 
> never look inside.

I don't own any windows machines so had to use these references 
(and could not test anything):
- WinSDK10:
Code above does not yet cover the Mars case, but the i386 sizes 
should be the same.
Please Note: setjmp/longjmp should only be used in "@system + 
@nogc + nothrow / -betterC" code.

More information about the Digitalmars-d-learn mailing list