[cl-containers-devel] Re: CL-Containers error on ECL

Gregory Martin Pfeil sellout42 at mac.com
Wed May 24 02:41:30 UTC 2006


On 23 May 2006, at 18:10, Gary King wrote:

> this is odd. I'll add it to my list. Can ECL run on a PowerPC mac?

It can. However, I encountered the problem on Linux/x86, and I don't  
get quite as far along when trying it on my Mac:

;;; Loading "/usr/local/asdf-install/site-systems/closer-mop.asd"
; registering #<ASDF:SYSTEM #:CLOSER-MOP 21048680> as CLOSER-MOP
keyword list is not a proper list
Broken at ASDF::PARSE-COMPONENT-FORM.

That could be caused by any number of local things, though, and I  
haven't tried to diagnose it yet.

> On May 23, 2006, at 5:51 PM, Greg Pfeil wrote:
>
>> I'm getting an error when I load the current version of CL- 
>> Containers in ECL. However, looking at the code, I don't see a  
>> problem. It seems to be happening in the CONTENTS-AS-HASHTABLE- 
>> MIXIN DEFCLASS form, when the contents accessor is declared.
>>
>> > (asdf:oos 'asdf:load-op :cl-containers)
>> ...
>> ;;; Compiling /home/pfeil/Lisp/cl-containers/dev/containers.lisp.
>> ...
>> ;;; Compiling (CLOS::INSTALL-METHOD 'MAKE-CONTAINER-FOR- 
>> CONTENTS ...).
>> ;;; Warning: The variable OBJECT is not used.
>> ;;; Compiling (DEFCLASS CONTENTS-AS-HASHTABLE-MIXIN ...).
>> ;;; Warning: Class KEY-VALUE-ITERATABLE-CONTAINER-MIXIN has been  
>> forward referenced.
>> There is no method on the generic function CONTENTS that agrees on  
>> qualifiers NIL and specializers (#<The STANDARD-CLASS CONTENTS-AS- 
>> HASHTABLE-MIXIN>)
>> Broken at LAMBDA.
>> METABANG.CL-CONTAINERS>>
>>
>> It's a DEFCLASS* macro:
>>
>> (DEFCLASS CONTENTS-AS-HASHTABLE-MIXIN (USES-CONTENTS-MIXIN
>>                                        KEY-VALUE-ITERATABLE- 
>> CONTAINER-MIXIN
>>                                        FINDABLE-CONTAINER-MIXIN)
>>   ((CONTENTS :ACCESSOR CONTENTS)))
>>
>> but the expansion looks fine to me, too:
>>
>> (EVAL-WHEN (:COMPILE-TOPLEVEL :LOAD-TOPLEVEL :EXECUTE)
>>   (PROGN
>>     (PROGN
>>       (DEFCLASS CONTENTS-AS-HASHTABLE-MIXIN (USES-CONTENTS-MIXIN
>>                                              KEY-VALUE-ITERATABLE- 
>> CONTAINER-MIXIN
>>                                              FINDABLE-CONTAINER- 
>> MIXIN)
>>         ((CONTENTS :ACCESSOR CONTENTS)))
>>       (VALUES 'CONTENTS-AS-HASHTABLE-MIXIN))
>>     (SETF (METABANG.UTILITIES::DEFCLASS*-SUPERCLASSES 'CONTENTS-AS- 
>> HASHTABLE-MIXIN)
>>           '(USES-CONTENTS-MIXIN KEY-VALUE-ITERATABLE-CONTAINER-MIXIN
>>             FINDABLE-CONTAINER-MIXIN))
>>     'CONTENTS-AS-HASHTABLE-MIXIN))
>>
>> If I remove that form, it happens at the next one. However, there  
>> are many DEFCLASS* forms _before_ this point, which all compile  
>> fine, apparently.
>>
>
>
> -- 
> Gary Warren King
> metabang.com
> http://www.metabang.com/
> (413) 210 7511
> gwking on #lisp (occasionally)
>
>




More information about the cl-containers-devel mailing list