|
From: | Paul F. Dietz |
Subject: | Re: [Gcl-devel] defpackage non-compliant? |
Date: | Mon, 07 Jul 2003 15:55:01 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 |
Sam Steingold wrote:
4. I get this:(compile-file "ext.lisp")Compiling ext.lisp. ; (IN-PACKAGE :PORT) is being compiled. ;; Warning: The package operation (IN-PACKAGE :PORT) was in a bad place. Error in COMPILER::T1EXPR [or a callee]: F1 is not of type LIST. note that (IN-PACKAGE :PORT) comes right after (DEFPACKAGE "PORT" ...) oh well, I guess I will hibernate for while ...
IIRC, there's a problem with the way GCL reorders forms in compiled files that makes it inadvisable to define a package in the same file that an in-package form for that package occurs. Paul
[Prev in Thread] | Current Thread | [Next in Thread] |