### #pragma options (AIX)

The #pragma options directives specifies compiler options within your source program.

By default, the options specified apply to the entire source program. If you specify more than one compiler option, use a blank space to separate them.

Most #pragma options directives must appear before any statements in your program source. Comments and blank lines, however, may precede the #pragma options directive. For example, the first few lines of your program can be a comment followed by the #pragma options directive, then the source:

    /*
     *  The following is an example of a #pragma options directive:
     */

    #pragma options langlvl=saa halt=s spill-1024 source

    /*  The rest of the source follows below...    */

The following #pragma options directives can appear anywhere in the source file:

- #pragma options source
- #pragma options enum
- #pragma options align

Some #pragma options directives have corresponding preprocessor #pragma directives. These, along with their required placement locations in a program source are:

#pragma options Name | #pragma Name | Placement in Source
`langlvl` | `langlvl` | Before any statements in the source file.
`chars` | `chars` | Before any statements in the source file.
`ro` | `strings` | Before any statements in the source file.
`isolated_call` | `isolated_call` | Before any calls to the listed functions.

Preprocessor Directives

#pragma Preprocessor Directives
List of Preprocessor Directives