[Ecls-list] Too many arguments for generic function CLOSE

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Mon Dec 22 09:10:43 UTC 2008


On Sat, Dec 20, 2008 at 3:51 PM, Stelian Ionescu
<stelian.ionescu-zeus at poste.it> wrote:
> Compiling a use of WITH-OPEN-FILE yields the warning "Too many arguments
> for generic function CLOSE"

Is this true also for the last release? I do not get that error here :-/

bash-3.2$ ecl -norc
ECL (Embeddable Common-Lisp) 8.12.0 (CVS 2008-07-12 18:54)
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.
> (require 'cmp)
;;; Loading #P"/Users/jjgarcia/lib/ecl-8.12.0/CMP.fas"
;;; Loading #P"/Users/jjgarcia/lib/ecl-8.12.0/sysfun.lsp"
("CMP")
> (handler-bind ((c:compiler-warning
                       (lambda (err) (describe err))))
         (compile 'nil '(lambda ()
                         (with-open-file (f "/tmp/fookoo")))))
;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0
;;; End of Pass 1.
;;; Note: Invoking external command:
;;;   gcc  [...]
;;; Note: Invoking external command:
;;;   gcc [...]
#<compiled-function 006fbc30>
NIL
NIL

--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28009 (Spain)
http://juanjose.garciaripoll.googlepages.com


More information about the ecl-devel mailing list