#pragma options (C only)
Category
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
.------------------. V | >>-#--pragma--options--(----+-aggregate----+-+--)-------------->< +-noaggregate--+ +-alias--------+ +-noalias------+ +-ansialias----+ +-noansialias--+ +-architecture-+ +-checkout-----+ +-nocheckout---+ +-gonumber-----+ +-nogonumber---+ +-ignerrno-----+ +-noignerrno---+ +-inline-------+ +-noinline-----+ +-libansi------+ +-nolibansi----+ +-maxmem-------+ +-nomaxmem-----+ +-object-------+ +-noobject-----+ +-optimize-----+ +-nooptimize---+ +-rent---------+ +-norent-------+ +-service------+ +-noservice----+ +-spill--------+ +-nospill------+ +-start--------+ +-nostart------+ +-test---------+ +-notest-------+ +-tune---------+ +-upconv-------+ +-noupconv-----+ +-xref---------+ '-noxref-------'
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
- z/OS XL C/C++ User's Guide
- For a detailed description of the interaction between the INLINE compiler option on the invocation line and the #pragma options preprocessor directive, see the INLINE compiler option description in the z/OS XL C/C++ User's Guide.