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-25
EXTENSIONS
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 these 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.
The native mode C++ compiler expects ANSI-compliant code unless you include
the EXTENSIONS pragma. To avoid warnings or errors on features that are not
strictly ANSI-compliant, you must use the EXTENSIONS pragma on the command
line.
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