[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] CogVM sources as per VMMaker.oscog-eem.2803 (1b896e9)

Nicolas Cellier notifications at github.com
Tue Sep 8 12:38:15 UTC 2020


Hi Eliot,
unfortunately, it does not seem to work for mingw target (which is what we use, cygwin is just the compiling host, not the target).

> ../../spur64src/vm/gcc3x-cointerp.c:13681:41: error: too few arguments to function call, expected 2, have 1
>         if ((_setjmp(GIV(jmpBuf)[GIV(jmpDepth)])) == 0) {
>              ~~~~~~~                           ^
> /usr/x86_64-w64-mingw32/sys-root/mingw/include/setjmp.h:242:3: note: '_setjmp' declared here
>   int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) _setjmp(jmp_buf _Buf, void *_Ctx);
>   ^
> 

Shouldn't we use a conflict-less `osvm_setjmp` and `osvm_longjmp` (or use sq prefix if you prefer) - and either define them as setjmp longjmp where it fits, or use our own implementation when it does not fit ?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/1b896e93195458099ac6cb27c5bb85dec66501d2#commitcomment-42122148
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20200908/af6f8019/attachment.html>


More information about the Vm-dev mailing list