[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

eclipse problem



   Date: Wed, 13 Nov 91 11:22:04 PST
   From: bruno@oz.geology.washington.edu (Steve Willis)

   When the form  (defun-pixar ...) is compiled, we get the following error:


   Error> While compiling (SETF (AREF O-ARRAY XI)
				 (MAKE-PIXEL (RED-COMPONENT (AREF IN-ARRAY X1))
				  (RED-COMPONENT (AREF IN-ARRAY X2))
				  (RED-COMPONENT (AREF IN-ARRAY X3))
				  (RED-COMPONENT (AREF IN-ARRAY X4)))):

   Unknown declaration keyword VARIABLE-INLINABLE
   Error> While compiling (SETF (AREF O-ARRAY XI)
				 (MAKE-PIXEL (RED-COMPONENT (AREF IN-ARRAY X1))
				  (RED-COMPONENT (AREF IN-ARRAY X2))
				  (RED-COMPONENT (AREF IN-ARRAY X3))
				  (RED-COMPONENT (AREF IN-ARRAY X4)))):

   COMPILER:VARIABLE-INLINABLE is not a known type.
   Error> While compiling (SETF (AREF O-ARRAY XI)
				 (MAKE-PIXEL (RED-COMPONENT (AREF IN-ARRAY X1))
				  (RED-COMPONENT (AREF IN-ARRAY X2))
				  (RED-COMPONENT (AREF IN-ARRAY X3))
				  (RED-COMPONENT (AREF IN-ARRAY X4)))):

   COMPILER:VARIABLE-INLINABLE is not a known type.



   The form itself macro-expands into:

   (LET* ((#:G19432 O-ARRAY)
	  (#:G19433 XI))
     (DECLARE (COMPILER:VARIABLE-INLINABLE #:G19432 #:G19433))
     (ZL:ASET (VALUES (MAKE-PIXEL (COMPONENT (VALUES (AREF IN-ARRAY X1)) 0)
		       (COMPONENT (VALUES (AREF IN-ARRAY X2)) 0)
		       (COMPONENT (VALUES (AREF IN-ARRAY X3)) 0)
		       (COMPONENT (VALUES (AREF IN-ARRAY X4)) 0)))
	      #:G19432
	      #:G19433))

   Evidently the problem is in the (declare ..) in the macro expansion.  Is
   this something that has changed from 8.0 to 8.1??  Is there a simple way
   to make compiler:variable-inlinable a known type??  I've tried to locate
   the defsetf call without success.  Any hints on where to find it??  The
   get-setf-method that I tried requires the appropriate environment and I
   can't figure out how to stuff that in at compile time (in fact, I'm not
   even convinced this is a correct way to proceed).

COMPILER:VARIABLE-INLINABLE exists in Genera 8.1; it's used in the
expansion of CLOS:WITH-SLOTS, for instance.

Something weirder is going on.  Those warnings don't look like they're
coming from the regular Symbolics compiler.  Its warnings don't look like
"Error> message".  When I compile something with an unrecognized
declaration, the message I get is:

Warning (not associated with any definition):
  The declaration (FOO X) is not recognized.

I think DEFUN-PIXAR is generating those messages itself.  Perhaps it's
trying to look in the system's internal declaration and type data
structures, but the internal interfaces have changed.

Do you get these errors when you just macroexpand the DEFUN-PIXAR form?