[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Manually cherry-pick (28b073f)

Marcel Taeumel notifications at github.com
Wed Nov 16 09:31:26 UTC 2022


FYI, compilation via Cygwin/MinGW still fails because of that EXPORT/IMPORT-vs-extern issue. `okToFree` cannot be linked. I changed this in the Cog branch to "extern" for now but now sure whether this affects dynamic linking of the file-dialog plugin:

```
2022-11-15T16:12:03.5584325Z C:/msys64/mingw64/bin/ld: builddbg/vm/FileDialogPlugin.lib(sqWin32FileDialog.o): in function `runSaveDlg':
2022-11-15T16:12:03.5585383Z D:/a/opensmalltalk-vm/opensmalltalk-vm/building/win64x64/squeak.cog.spur/../../../platforms/win32/plugins/FileDialogPlugin/sqWin32FileDialog.c:117: undefined reference to `__imp_okToFreeSTGMEDIUMHGLOBAL'
2022-11-15T16:12:03.5586566Z C:/msys64/mingw64/bin/ld: D:/a/opensmalltalk-vm/opensmalltalk-vm/building/win64x64/squeak.cog.spur/../../../platforms/win32/plugins/FileDialogPlugin/sqWin32FileDialog.c:119: undefined reference to `__imp_okToFreeSTGMEDIUMHGLOBAL'
2022-11-15T16:12:03.5587465Z C:/msys64/mingw64/bin/ld: builddbg/vm/FileDialogPlugin.lib(sqWin32FileDialog.o): in function `runOpenDlg':
2022-11-15T16:12:03.5588527Z D:/a/opensmalltalk-vm/opensmalltalk-vm/building/win64x64/squeak.cog.spur/../../../platforms/win32/plugins/FileDialogPlugin/sqWin32FileDialog.c:94: undefined reference to `__imp_okToFreeSTGMEDIUMHGLOBAL'
2022-11-15T16:12:03.5589961Z C:/msys64/mingw64/bin/ld: D:/a/opensmalltalk-vm/opensmalltalk-vm/building/win64x64/squeak.cog.spur/../../../platforms/win32/plugins/FileDialogPlugin/sqWin32FileDialog.c:96: undefined reference to `__imp_okToFreeSTGMEDIUMHGLOBAL'
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/28b073f31e2767f14f54bf792a8f02016f0f65a1#commitcomment-90076930
You are receiving this because you are subscribed to this thread.

Message ID: <OpenSmalltalk/opensmalltalk-vm/commit/28b073f31e2767f14f54bf792a8f02016f0f65a1/90076930 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20221116/69bec736/attachment.html>


More information about the Vm-dev mailing list