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
On Tue, 2012-05-01 at 15:18 -0400, Zach Beane wrote:
I sent a merge request to the author. IMO it should be deprecated because static-vectors does everything fnv does, but better
On Tue, May 1, 2012 at 8:18 PM, Zach Beane xach@xach.com wrote:
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 luismbo@gmail.com writes:
For what it's worth, I don't get any warning in 0.10.6, and that's the latest one in Quicklisp.
Zach
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,
On Tue, May 1, 2012 at 4:09 PM, Luís Oliveira luismbo@gmail.com wrote:
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