delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/04/01/09:49:42

X-Spam-Check-By: sourceware.org
Message-ID: <6910a60704010649u5384ef1bl759f142ca61c36cc@mail.gmail.com>
Date: Sun, 1 Apr 2007 14:49:18 +0100
From: "Reini Urban" <rurban AT x-ray DOT at>
To: cffi-devel AT common-lisp DOT net, "Fred Stone" <freddybear428007 AT cs DOT com>,
cygwin AT cygwin DOT com
Subject: cffi-clisp.lisp multiple-value-bind usage of variable "error" conflicts with another package
MIME-Version: 1.0
X-Google-Sender-Auth: 523903be251d39f5
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019