[cffi-devel] Recent library breakage
![](https://secure.gravatar.com/avatar/c7be29f230d0fc8df73e146bca8366fd.jpg?s=120&d=mm&r=g)
fnv (from git://github.com/blindglobe/fnv.git) used to build, but as of today I get this full warning: ; caught WARNING: ; Defining a foreign type named :COMPLEX-DOUBLE. This symbol ; belongs to the KEYWORD package and that may interfere with other ; code using CFFI. I'm using CFFI 0.10.7.1 on SBCL. What should be done to fix it? Thanks, Zach
![](https://secure.gravatar.com/avatar/fa1e806f97322661e06279d2f35e7ab8.jpg?s=120&d=mm&r=g)
On Tue, 2012-05-01 at 15:18 -0400, Zach Beane wrote:
fnv (from git://github.com/blindglobe/fnv.git) used to build, but as of today I get this full warning:
; caught WARNING: ; Defining a foreign type named :COMPLEX-DOUBLE. This symbol ; belongs to the KEYWORD package and that may interfere with other ; code using CFFI.
I'm using CFFI 0.10.7.1 on SBCL.
What should be done to fix it?
I sent a merge request to the author. IMO it should be deprecated because static-vectors does everything fnv does, but better -- Stelian Ionescu a.k.a. fe[nl]ix Quidquid latine dictum sit, altum videtur. http://common-lisp.net/project/iolib
![](https://secure.gravatar.com/avatar/326b108ffcc42f27628703b0c11ed239.jpg?s=120&d=mm&r=g)
On Tue, May 1, 2012 at 8:18 PM, Zach Beane <xach@xach.com> wrote:
fnv (from git://github.com/blindglobe/fnv.git) used to build, but as of today I get this full warning:
; caught WARNING: ; Defining a foreign type named :COMPLEX-DOUBLE. This symbol ; belongs to the KEYWORD package and that may interfere with other ; code using CFFI.
I'm using CFFI 0.10.7.1 on SBCL.
What should be done to fix it?
The fix should be straightforward. fnv should rename its :complex-double type to something like fnv::complex-double. I don't have an explanation how this could be a new warning, since it has been in CFFI for 5+ years. Cheers, -- Luís Oliveira http://r42.eu/~luis/
![](https://secure.gravatar.com/avatar/c7be29f230d0fc8df73e146bca8366fd.jpg?s=120&d=mm&r=g)
Luís Oliveira <luismbo@gmail.com> writes:
On Tue, May 1, 2012 at 8:18 PM, Zach Beane <xach@xach.com> wrote:
fnv (from git://github.com/blindglobe/fnv.git) used to build, but as of today I get this full warning:
; caught WARNING: ; Defining a foreign type named :COMPLEX-DOUBLE. This symbol ; belongs to the KEYWORD package and that may interfere with other ; code using CFFI.
I'm using CFFI 0.10.7.1 on SBCL.
What should be done to fix it?
The fix should be straightforward. fnv should rename its :complex-double type to something like fnv::complex-double. I don't have an explanation how this could be a new warning, since it has been in CFFI for 5+ years.
For what it's worth, I don't get any warning in 0.10.6, and that's the latest one in Quicklisp. Zach
![](https://secure.gravatar.com/avatar/326b108ffcc42f27628703b0c11ed239.jpg?s=120&d=mm&r=g)
On Tue, May 1, 2012 at 9:20 PM, Zach Beane <xach@xach.com> wrote:
For what it's worth, I don't get any warning in 0.10.6, and that's the latest one in Quicklisp.
Thanks for the extra information. I digged a little deeper a found two things: 1. CFFI was indeed not signalling this warning for types defined via DEFCSTRUCT until very recently. This was a bug. 2. the 0.10.7.1 release tarball had the wrong contents! (release.sh unconditionally archives from the master branch. doh!) I've rebuilt that tarball. Please grab it again and pardon my fumbling... Cheers, -- Luís Oliveira http://r42.eu/~luis/
![](https://secure.gravatar.com/avatar/d41a1ae8ef63e95a9816f4fbbb9223a3.jpg?s=120&d=mm&r=g)
On Tue, May 1, 2012 at 4:09 PM, Luís Oliveira <luismbo@gmail.com> wrote:
On Tue, May 1, 2012 at 8:18 PM, Zach Beane <xach@xach.com> wrote:
fnv (from git://github.com/blindglobe/fnv.git) used to build, but as of today I get this full warning:
; caught WARNING: ; Defining a foreign type named :COMPLEX-DOUBLE. This symbol ; belongs to the KEYWORD package and that may interfere with other ; code using CFFI.
I'm using CFFI 0.10.7.1 on SBCL.
What should be done to fix it?
The fix should be straightforward. fnv should rename its :complex-double type to something like fnv::complex-double. I don't have an explanation how this could be a new warning, since it has been in CFFI for 5+ years.
That mystified me as well. There is one other system in quicklisp from the same source (this is "middleangle" isn't it?), I think blapack, that gave the same error. I don't understand why this doesn't occur under older versions of CFFI, like 0.10.6. Liam
participants (4)
-
Liam Healy
-
Luís Oliveira
-
Stelian Ionescu
-
Zach Beane