C/C++ Programmer's Guide (G06.27+, H06.03+)

Table Of Contents
Compiler Pragmas
HP C/C++ Programmer’s Guide for NonStop Systems429301-010
13-49
INLINE_COMPILER_GENERATED_FUNCTIONS
INLINE_COMPILER_GENERATED_FUNCTIONS
The INLINE_COMPILER_GENERATED_FUNCTIONS command-line option allows all
compiler-generated functions to be inlined. The default behavior is that
compiler-generated functions are not inlined and are exported.
The pragma default settings are:
Usage Guidelines
INLINE_COMPILER_GENERATED_FUNCTIONS can be entered on the compiler
RUN command line (NMCPLUS) or be specified with the
-Winline_compiler_generated_functions flag of the c89 utility.
This pragma is only valid for TNS/R-target compilations.
INLINE_LIMIT
The INLINE_LIMIT command-line option specifies the maximum number of lines that
the compiler can inline. Where, n denotes the total number of lines in a member
function. The inline limit count, n, is specified as an integer. If n is 0, then there is no
limit on the number of lines that the compiler can inline. The default value is 10.
This limit applies only to member functions that are defined within their class definition
without the inline specifier.
For a function not to be inlined, set INLINE_LIMIT to an integer lesser than the total
number of the actual lines between the start position of a function definition and the
end of the function. This is just information for the compiler and it is not guaranteed
that the function having lesser source lines than INLINE_LIMIT will be inlined.
INLINE_COMPILER_GENERATED_FUNCTIONS
SYSTYPE GUARDIAN SYSTYPE OSS
TNS C compiler N.A. N.A.
G-series TNS c89 utility N.A. N.A.
TNS/R native C and C++ compilers Not set Not set
Native c89 utility Not set Not set
TNS/E native C and C++ compilers N.A. N.A.
Note. The INLINE_COMPILER_GENERATED_FUNCTIONS pragma affects the compiler-
generated constructor, destructor, and assignment operator (operator=).
INLINE_LIMIT n