Variable | Package: compiler | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## *cltl1-compile-file-toplevel-compatibility-p*

If the value of this variable is true, CLtL-1 compile-time-too behavior will be used when compiling a file. That means that top-level forms calling the functions listed below need not be wrapped in an appropriate eval-when form in order for them to have effect while a file is being compiled. If the value is the symbol `warn` (which is the initial value), a warning will be printed whenever a form is encountered where CLtL-1 compile-time-too behavior is used. (Note: it is likely that complex files will generate many warnings.) If the value is `nil`, ANSI compile-time-too behavior is used. We recommend that you modify all files to conform to ANSI behavior as soon as possible.

By compile-time-too behavior, we refer to the effect of certain top-level forms in a file being compiled. In CLtL-1, top-level forms which were calling the functions listed below were treated as if they were wrapped in an

    (eval-when (compile))

form. That behavior has been changed in the new standard and you must wrap such forms in appropriate eval-when forms if they are to have effect while a file is being compiled. The affected functions are:

- proclaim
- make-package
- shadow
- shadowing-import
- import
- export
- unexport
- use-package
- unuse-package
- require

See compiling.htm for information on the compiler.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version