Re: How to handle these warnings?
Sam Steingold <[email protected]> Fri, 20 Oct 2017 15:45:37 -0400
| Newsgroups | gmane.lisp.clisp.general |
|---|---|
| Message-ID | <[email protected]> |
> * Jean Louis <[email protected]> [2017-10-20 20:13:44 +0300]: > > On Fri, Oct 20, 2017 at 11:26:53AM -0400, Sam Steingold wrote: >> > * Jean Louis <[email protected]> [2017-10-20 07:07:24 +0300]: >> > >> > I just want to suppress following errors below, and I am not sure if I >> > am doing something or what is going on. >> > My program works but after I see 3-4 screens of such warnings. >> >> 1. I suggest that you refactor your code. Those warning seem to tell you >> that you might not be doing what you think you are doing. Sorry, I forgot that the warnings were triggered by ASDF. >> 2. I posted code: >> >> >> --8<---------------cut here---------------start------------->8--- >> >> (ext:set-global-handler >> >> 'clos:clos-warning >> >> (lambda (c) >> >> (invoke-restart (find-restart 'abort c)))) >> >> --8<---------------cut here---------------end--------------->8--- >> > > I just think that problem is somewhere in loading > the ASDF or something like that. > > I am using following in a file, to load the > rcd-dev.asd which is located in the directory: > "/home/data1/protected/Programming/git/RCDBusiness/lib/lisp/" > > (load #P"~/lib/lisp/asdf/build/asdf.lisp") > (load #P"/home/data1/protected/lib/lisp/quicklisp/setup.lisp") Is there a reason not to compile those files? > (push "/home/data1/protected/Programming/git/RCDBusiness/lib/lisp/" > asdf:*central-registry*) before this: > (asdf:load-system "rcd-dev" :verbose nil) you need to evaluate the set-global-handler code. alternatively, if you are using CLISP built from HG tip, you can edit your asdf.lisp file and add (declare (clos:dynamically-modifiable)) to the defgeneric forms for perform, operation-done-p &c. see https://clisp.sourceforge.io/beta/impnotes/mop-clisp.html -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1504 http://steingoldpsychology.com http://www.childpsy.net http://honestreporting.com http://memri.org http://islamexposedonline.com http://no2bds.org Do not worry about which side your bread is buttered on: you eat BOTH sides. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ clisp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/clisp-list