Compiler tab on Options dialog

IDE Dialog Tab

This tab of the Options deals with compiler settings.

The Levels field

Specifies the default values of the four compiler optimization qualities used in Allegro CL. Values can be 0 (put least weight on this quality), 1, 2, and 3 (put most weight on this quality). Allegro CL uses optimization qualities to make compiler switches return true or nil. Evaluate (excl:explain-compiler-settings) in the debug window to see the current settings (see explain-compiler-settings), the list of switches, and the value of the switch given the current quality values.

Setting speed to 3 and safety to 0 is not recommended. (Incorrect code may silently produce wrong answers to arithmetic calculations along with other problems.) You can set the values of the qualities with a declaration in a function definition. Speed 3/Safety 0 should be reserved for functions that are small, debugged, and where speed is at an absolute premium.

The Redefinition Warnings field

Lisp notices where certain kinds of objects are defined (in a file, an editor buffer, typing to the Debug Window, etc.) If redefinition warnings for a kind of object is enabled, redefining the object in a different location causes a warning. Thus, suppose function FOO is defined in myfile.cl which is loaded into Lisp and redefinition warnings for operators (functions, macros, generic functions) is enabled. You then load another file, my-other-file.cl where FOO is also defined. You will get a warning asking if redefining FOO is what you intend. If, on the other hand, you modify the definition of FOO in myfile.cl and reload it, no warning is signaled.

The various kinds of objects that have redefinition warnings are listed in the box. Initially, all are selected (as shown).

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.