C/C++ Programmer's Guide (G06.25+)

Compiler Pragmas
HP C/C++ Programmer’s Guide for NonStop Systems429301-008
13-78
REMARKS
Pragma REFALIGNED without a pointer-name-list specifies the default
alignment for the entire compilation and can be used in the command line or in the
source text.
A global REFALIGNED pragma affects only pointers that do not point to classes,
structs, or unions.
If you declare a TYPEDEF and it is of a type that has been given an explicit
reference alignment, then 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.
The pragma default settings are:
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 utility.
Remarks are informative diagnostics that are less severe than warnings.
REMARKS
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 Not set Not set