[squeak-dev] SyntaxError while loading FFI
Thiede, Christoph
Christoph.Thiede at student.hpi.uni-potsdam.de
Wed Sep 9 21:50:31 UTC 2020
Hi all,
I fear this could be a frequently discussed topic, but I did not know where to start else.
In the web, you can find the following instruction in order to load FFI at several places, amongst them the Swiki:
Metacello new configuration: 'FFI'; load.
If I do this in a fresh trunk image (#19838) without any extra installs, I get a syntax error:
ffiPrintString: aString
"FFITestLibrary ffiPrintString: 'Hello'"
<cdecl: "Literal constant expected ->"char* 'ffiPrintString' (char *) module:'SqueakFFIPrims'>
^self externalCallFailed
This is at the very least confusing, I think :-) Are there any undocumented dependencies or something like this?
If I use the preference wizard instead, the installation succeeds. (It's not very convenient that it asks you for your initials during the installation, but this is only a small critique. :-))
I just wanted to inform you about that.
Best,
Christoph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200909/a7d59b96/attachment-0001.html>
More information about the Squeak-dev
mailing list
|