X-Spam-Check-By: sourceware.org Message-ID: <6910a60704010649u5384ef1bl759f142ca61c36cc@mail.gmail.com> Date: Sun, 1 Apr 2007 14:49:18 +0100 From: "Reini Urban" To: cffi-devel AT common-lisp DOT net, "Fred Stone" , cygwin AT cygwin DOT com Subject: cffi-clisp.lisp multiple-value-bind usage of variable "error" conflicts with another package MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 523903be251d39f5 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com >I am attempting to use cffi on a Clisp 2.41 build running under Cygwin. >I can get cffi to load using asdf, but when I loaded a package that uses >cffi, I got an error message "ERROR is a constant: may not be used as a >variable". >In cffi-clisp.lisp, around line 234; > (multiple-value-bind (ff error) ... >is causing the problem. I patched this to: > (multiple-value-bind (ff fferror) >and also corrected the subsequent two references to error on lines 249 >and 250 and managed to get past this particular problem. >In trying to localize the source of the name conflict, it appears that >one of the optional modules that I have included in Clisp is the source >of the conflit. These would include GDI, PCRE, RAWSOCK, LDAP, FASTCGI or >ZLIB. The BASE build without the optional modules didn't have the name >conflict, while the FULL build does. I have not determined which of the >modules above was defining the constant "error". I found the culprit. Of course it was me who introduced it. GDI.lisp defines it. Will be fixed asap. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://spacemovie.mur.at/ http://helsinki.at/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/