[Ecls-list] Bug in defclass functions

birulevo.net linkfly at birulevo.net
Thu May 31 10:57:59 UTC 2007


Hello, ecls-list.
    (One of the reasons of what to not be building "WXCL" system)

Run ecl and type:
(defclass myclass1(object)())
(defclass myclass2(myclass1)())

Log:
;--------------------------------------------
ECL (Embeddable Common-Lisp) 0.9i
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.  Top level.
> (defclass myclass1(object)())
;;; Warning: Class OBJECT has been forward referenced.
#<The STANDARD-CLASS MYCLASS1>
> (defclass myclass2(myclass1)())
Cannot finish building the class
  MYCLASS2
because it contains a reference to the undefined class
  OBJECT
Broken at EVAL.No restarts available.
Broken at LAMBDA.
>>
;--------------------------------------------
ECL building with MSVC8.
-- 
With respect,
  LinkFly                          mailto:linkfly at birulevo.net





More information about the ecl-devel mailing list