Edi Weitz wrote:
On Sat, 17 Nov 2007 15:11:46 +0100, "Jens Teich" info@jensteich.de wrote:
When I load my system without delivery I get these warnings at startup
; Loading fasl file d:\Projekte\Lisp\bordeaux-threads\src\bordeaux-threads.ofasl ; Loading fasl file d:\Projekte\Lisp\bordeaux-threads\src\lispworks.ofasl Warning: (METHOD MAKE-THREAD (T)) being redefined in d:\Projekte\Lisp\bordeaux- threads\src\lispworks.lisp (previously in d:\Projekte\Lisp\bordeaux- threads\src\bordeaux-threads.lisp). Warning: (METHOD MAKE-LOCK NIL) being redefined in d:\Projekte\Lisp\bordeaux- threads\src\lispworks.lisp (previously in d:\Projekte\Lisp\bordeaux- threads\src\bordeaux-threads.lisp). Warning: (DEFMACRO WITH-LOCK-HELD) being redefined in d:\Projekte\Lisp\bordeaux- threads\src\lispworks.lisp (previously in d:\Projekte\Lisp\bordeaux- threads\src\bordeaux-threads.lisp). Warning: (METHOD THREAD-YIELD NIL) being redefined in d:\Projekte\Lisp\bordeaux- threads\src\lispworks.lisp (previously in d:\Projekte\Lisp\bordeaux- threads\src\bordeaux-threads.lisp).
Sorry, I misread this message and thought you /only/ got these message during delivery. I just checked and the reason you get the messages seems to be in fact that the methods are defined twice. For example, for MAKE-THREAD there's a DEFGENERIC in src/bordeaux-threads.lisp which defines a method for (T) and in src/lispworks.lisp they again define a method for (T). You should report that to the authors.
(Or you shouldn't use bordeaux-threads at all. IIUC it's a portability layer, so if you're only developing for LW, you don't need it.)
Regards Jens
bordeaux-threads-devel@common-lisp.net