Luís Oliveira <luis...@gmail.com> writes: > On Sun, Dec 18, 2011 at 4:13 AM, Stelian Ionescu <sione...@cddr.org> wrote: >> Xach requested better error reporting from load-foreign-library, so >> please review this patch > > So now we consistently get a load-foreign-library-error instead of > getting a simple-error for some of the errors. Storing the pathname in > the error seems like a good idea too. Is there a specific use-case > that motivated that change? I'm asking because it's not populated > correctly in the try-foreign-library-alternatives case, and it's not > clear what should go there in that case. Perhaps we should store > something else? (The foreign-library object perhaps?)
The use-case I had in mind was an environment that caught the error and offered a useful action, e.g. "install the library via apt/homebrew/macports/etc and continue". Zach _______________________________________________ cffi-devel mailing list cffi-devel@common-lisp.net http://lists.common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel