Variable | Package: compiler | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version