Re: How to handle these warnings?
Jean Louis <[email protected]> Fri, 20 Oct 2017 20:13:44 +0300
| Newsgroups | gmane.lisp.clisp.general |
|---|---|
| Message-ID | <[email protected]> |
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. > > 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") (push "/home/data1/protected/Programming/git/RCDBusiness/lib/lisp/" asdf:*central-registry*) (asdf:load-system "rcd-dev" :verbose nil) Then I have the rcd-dev.asd file like following: (defsystem "rcd-dev" :description "RCD™ Business CF/WRS/BP" :version "0.0.1" :author "Jean M. Louis" :licence "GPL v3+" :serial t :depends-on ( "alexandria" "babel" "uiop" ;; "geo" "cl-rfc2047" "cl-emb" "ironclad" ;; "do-urlencode" "cl-ansi-text" ) :components ( (:file "utilities-dev"))) And the utilities-dev.lisp file in same directory can be even empty, it is now empty, as I am trying to figure out what to do to avoid those warnings. Jean ------------------------------------------------------------------------------ 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