[ cclan-Bugs-1027739 ] ASDF should use define-condition :report
"SourceForge.net" <[email protected]> Tue, 14 Sep 2004 00:32:40 -0700
| Newsgroups | gmane.lisp.cclan.bugs |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1027739, was opened at 2004-09-14 09:32 Message generated for change (Tracker Item Submitted) made by Item Submit= ter You can respond by visiting:=20 https://sourceforge.net/tracker/?func=3Ddetail&atid=3D393636&aid=3D102773= 9&group_id=3D28536 Category: asdf Group: None Status: Open Resolution: None Priority: 5 Submitted By: J=F6rg H=F6hle (hoehle) Assigned to: Daniel Barlow (dan_b) Summary: ASDF should use define-condition :report Initial Comment: Hi, I wondered why ASDF-1.86.1 badly reports errors in=20 CLISP: "(asdf:oos "asdf:load-op "clsql-odbc") ; loading system definition from=20 S:\Code\Lisp\clsql-3.0.3\clsql-odbc.asd into #<PACKAGE=20 ASDF14729> ;; Loading file S:\Code\Lisp\clsql-3.0.3\clsql-odbc.asd=20 ... ;; Loaded file S:\Code\Lisp\clsql-3.0.3\clsql-odbc.asd *** - Condition of type ASDF:MISSING-COMPONENT. The following restarts are available: [...]" The specific error message "missing component foo" does=20 not appear in the debugger. Bruno Haible replied in clisp-devel: http://sourceforge.net/mailarchive/forum.php?thread_id=3D 5563867&forum_id=3D6768 >The problem is precisely that ASDF uses a PRINT-OBJECT=20 method. From >ANSI CL you can see that PRINT-OBJECT is made for=20 STANDARD-OBJECT and >STRUCTURE-OBJECT instances, however the class=20 CONDITION is _not_ >mandated to be a subclass of one of them. Therefore=20 according to ANSI >CL, a PRINT-OBJECT method for a condition class needs=20 not have an >effect at all. And that"s why they define a different=20 means for >customizing the printing of conditions: The :REPORT=20 option of >DEFINE-CONDITION. >Summary: ASDF needs to use the :REPORT option of=20 DEFINE-CONDITION, >not a PRINT-OBJECT method. Regards, J=F6rg H=F6hle. ---------------------------------------------------------------------- You can respond by visiting:=20 https://sourceforge.net/tracker/?func=3Ddetail&atid=3D393636&aid=3D102773= 9&group_id=3D28536 ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.=20 Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php