176 lines
87 KiB
Plaintext
176 lines
87 KiB
Plaintext
Copyright (c) 1986 Xerox Corporation. All rights reserved.
|
||
|
||
2
|
||
|
||
18.12 Compiler Error Messages
|
||
1
|
||
|
||
Messages describing errors in the function being compiled are also printed on the terminal. These messages are always preceded by *****. Unless otherwise indicated below, the compilation will continue.
|
||
(FN NOT ON FILE, COMPILING IN CORE DEFINITION)
|
||
From calls to BCOMPL and BRECOMPILE.
|
||
(FN NOT COMPILEABLE) An EXPR definition for FN could not be found. In this case, no code is produced for FN, and the compiler proceeds to the next function to be compiled, if any.
|
||
(FN NOT FOUND) Occurs when RECOMPILE or BRECOMPILE try to copy the compiled definition of FN from CFILE, and cannot find it. In this case, no code is copied and the compiler proceeds to the next function to be compiled, if any.
|
||
(FN NOT ON BLKFNS) FN was specified as an entry to a block, or else was on BLKAPPLYFNS, but did not appear on the BLKFNS. In this case, no code is produced for the entire block and the compiler proceeds to the next function to be compiled, if any.
|
||
(FN CAN'T BE BOTH AN ENTRY AND THE BLOCK NAME)
|
||
In this case, no code is produced for the entire block and the compiler proceeds to the next function to be compiled, if any.
|
||
(BLKNAME - USED BLKAPPLY WHEN NOT APPLICABLE)
|
||
BLKAPPLY is used in the block BLKNAME, but there are no BLKAPPLYFNS or ENTRIES declared for the block.
|
||
(VAR SHOULD BE A SPECVAR - USED FREELY BY FN)
|
||
While compiling a block, the compiler has already generated code to bind VAR as a LOCALVAR, but now discovers that FN uses VAR freely. VAR should be declared a SPECVAR and the block recompiled.
|
||
((* --) COMMENT USED FOR VALUE) A comment appears in a context where its value is being used, e.g. (LIST X (* --) Y). The compiled function will run, but the value at the point where the comment was used is undefined.
|
||
((FORM) - NON-ATOMIC CAR OF FORM) If user intended to treat the value of FORM as a function, he should use APPLY* (("APPLY*" . Function)). FORM is compiled as if APPLY* had been used.
|
||
((SETQ VAR EXPR --) BAD SETQ) SETQ of more than two arguments.
|
||
(FN - USED AS ARG TO NUMBER FN?) The value of a predicate, such as GREATERP or EQ, is used as an argument to a function that expects numbers, such as IPLUS.
|
||
(FN - NO LONGER INTERPRETED AS FUNCTIONAL ARGUMENT)
|
||
The compiler has assumed FN is the name of a function. If the user intended to treat the value of FN as a function, APPLY* (("APPLY*" . Function)) should be used. This message is printed when FN is not defined, and is also a local variable of the function being compiled.
|
||
(FN - ILLEGAL RETURN) RETURN encountered when not in PROG.
|
||
(TG - ILLEGAL GO) GO encountered when not in a PROG.
|
||
(TG - MULTIPLY DEFINED TAG) TG is a PROG label that is defined more than once in a single PROG. The second definition is ignored.
|
||
(TG - UNDEFINED TAG) TG is a PROG label that is referenced but not defined in a PROG.
|
||
(VAR - NOT A BINDABLE VARIABLE) VAR is NIL, T, or else not a literal atom.
|
||
(VAR VAL -- BAD PROG BINDING) Occurs when there is a prog binding of the form (VAR VAL1 ... VALN).
|
||
(TG - MULTIPLY DEFINED TAG, LAP) TG is a label that was encountered twice during the second pass of the compilation. If this error occurs with no indication of a multiply defined tag during pass one, the tag is in a LAP macro.
|
||
(TG - UNDEFINED TAG, LAP) TG is a label that is referenced during the second pass of compilation and is not defined. LAP treats TG as though it were a COREVAL, and continues the compilation.
|
||
(TG - MULTIPLY DEFINED TAG, ASSEMBLE) TG is a label that is defined more than once in an assemble form.
|
||
(TG - UNDEFINED TAG, ASSEMBLE) TG is a label that is referenced but not defined in an assemble form.
|
||
(OP - OPCODE? - ASSEMBLE) OP appears as CAR of an assemble statement, and is illegal.
|
||
(NO BINARY CODE GENERATED OR LOADED FOR FN)
|
||
A previous error condition was sufficiently serious that binary code for FN cannot be loaded without causing an error.
|
||
|