[Vm-dev] Problem compiling SqueakFFI Plugin

Javier Pimás elpochodelagente at gmail.com
Sat Mar 31 21:48:26 UTC 2018


when generating the squeakffi plugin I get different sources than the ones
in src/plugins dir. Mine generate a compiler error, because isImmediate is
redefined, any idea?

the original src/X64SysVFFIPlugin.c contains (~ line 460):

#if !defined(isImmediate)
#if VM_PROXY_MAJOR > 1 || (VM_PROXY_MAJOR == 1 && VM_PROXY_MINOR >= 13)
extern sqInt isImmediate(sqInt anObject);
#else
# define isImmediate(anObject) 0
#endif
#endif


while mine gets:

#if VM_PROXY_MAJOR > 1 || (VM_PROXY_MAJOR == 1 && VM_PROXY_MINOR >= 13)
extern sqInt isImmediate(sqInt anObject);
#else
# define isImmediate(anObject) 0
#endif
#if !defined(isImmediate)
#endif


Cheers,
Pocho

-- 
Javier Pimás
Ciudad de Buenos Aires
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20180331/5abbcaa3/attachment.html>


More information about the Vm-dev mailing list