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

Compiler Pragmas
HP C/C++ Programmer’s Guide for NonStop Systems429301-008
13-25
EXTENSIONS
EXTENSIONS
The EXTENSIONS pragma allows source code to use syntax extensions and standard
library extensions defined by HP.
The pragma default settings are:
Usage Guidelines
The EXTENSIONS pragma can be entered on the compiler RUN command line or
be specified with the -W[no]extensions flag of the c89 utility.
The EXTENSIONS pragma adds the following reserved keywords:
The EXTENSIONS pragma extends the grammar for the ISO/ANSI C standard.
The EXTENSIONS pragma allows the #include directive to specify section names
and nolist.
The EXTENSIONS pragma defines the feature-test macro _TANDEM_SOURCE.
The EXTENSIONS pragma changes the severity of some errors to warnings.
Standard library extensions can be enabled by defining the feature-macro
_TANDEM_SOURCE without specifying the EXTENSIONS pragma.
[NO]EXTENSIONS
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 NOEXTENSIONS NOEXTENSIONS
Native c89 utility NOEXTENSIONS NOEXTENSIONS
TNS/E native C and C++ compilers NOEXTENSIONS NOEXTENSIONS
_alias _arg_present _atomic_get
_atomic_put _baddr _bitlength
_c _callable _cobol
_cspace _extensible _far
_fortran _interrupt _lowmem
_lowmem256 _lowmem64 _near
_optional _pascal _priv
_procaddr _resident _sg
_sgx _tal _unspecified
_variable _waddr