C/C++ Programmer's Guide (G06.27+, H06.08+, J06.03+)
• If you declare a TYPEDEF and it is of a type that has been given an explicit reference
alignment, that REFALIGNED value is propagated to the new TYPEDEF. Otherwise, the new
TYPEDEF gets the current global default REFALIGNED value.
• When SHARED2 substructs are nested within AUTO, PLATFORM, or SHARED8 structs, the
substruct contributes only a 1-byte or 2-byte alignment requirement to the overall struct, even
when the substruct contains 4-byte or 8-byte field types.
REMARKS
The REMARKS pragma directs the native C and C++ compilers to issue remarks.
REMARKS
The pragma default settings are:
SYSTYPE OSSSYSTYPE GUARDIAN
N.A.N.A.TNS C compiler
N.A.N.A.G-series TNS c89 utility
Not setNot setTNS/R native C and C++ compilers
Not setNot setNative c89 and c99 utilities
Not setNot setTNS/E native C and C++ compilers
Usage Guidelines
• The REMARKS pragma can be entered only on the compiler RUN command line. For OSS,
the pragma can be specified with the -Wremarks flag of the c89 or the c99 utility.
• Remarks are informative diagnostics that are less severe than warnings.
RUNNABLE
The RUNNABLE pragma directs the compiler to generate an executable object file instead of a
linkable object file for a single-module program.
RUNNABLE
The pragma default settings are:
SYSTYPE OSSSYSTYPE GUARDIAN
Not setNot setTNS C compiler
N.A.N.A.G-series TNS c89 utility
Not setNot setTNS/R native C and C++ compilers
N.A.N.A.Native c89 and c99 utilities
Not setNot setTNS/E native C and C++ compilers
Usage Guidelines
• The RUNNABLE pragma can be specified only on the compiler RUN command line for the
native C and C++ compilers.
• If you specify RUNNABLE in a translation unit that does not define the function main, the
compiler generates a warning and produces a linkable, not executable, object file.
• The RUNNABLE pragma has no effect if the compiler is run from the OSS environment. The
compiler ignores the pragma.
232 Compiler Pragmas