[cffi-devel] cffi-grovel *cpu-word-size-flags*: wrong on Windows/amd64

Luís Oliveira luismbo at gmail.com
Fri Nov 4 00:53:16 UTC 2011


On Fri, Nov 4, 2011 at 12:46 AM, Anton Kovalenko <anton at sw4me.com> wrote:
> (defparameter *cpu-word-size-flags*
>  (ecase (cffi:foreign-type-size :long)
>    (4 (list "-m32"))
>    (8 (list "-m64"))))
>
> It would be better to use :intptr instead of :long, because on 64-bit MS
> Windows, long is not long enough.

Thanks for your report!

Stelian, any objection to making this change before the grovel-cxx merge?

-- 
Luís Oliveira
http://r42.eu/~luis/




More information about the cffi-devel mailing list