#pragma options (C only)

Category

Language element control

Purpose

Specifies a list of compiler options that are to be processed as if you had typed them on the command line or on the CPARM parameter of the IBM®-supplied catalogued procedures.

Syntax

Read syntax diagramSkip visual syntax diagram#pragmaoptions( aggregatenoaggregatealiasnoaliasansialiasnoansialiasarchitecturecheckoutnocheckoutgonumbernogonumberignerrnonoignerrnoinlinenoinlinelibansinolibansimaxmemnomaxmemobjectnoobjectoptimizenooptimizerentnorentservicenoservicespillnospillstartnostarttestnotesttuneupconvnoupconvxrefnoxref )

Defaults

See the z/OS XL C/C++ User's Guide for the default settings for these options.

Parameters

See the z/OS XL C/C++ User's Guide for descriptions of these options.

Usage

If you use a compile option that contradicts the options that are specified on the #pragma options directive, the compiler option overrides the options on the #pragma options directive.

If you specify an option more than once, the compiler uses the last one you specified.

IPA effects

You cannot specify the IPA compiler option for #pragma options.

Related information