HP C for OpenVMS

Software
Product
Description
PRODUCT NAME: HP C for OpenVMS
SPD 25.38.38
DESCRIPTION
This document addresses HP C Version 7.2 for Open-
VMS for Integrity Servers (I64), HP C Version 7.1 for
OpenVMS Alpha, and HP C Version 6.4 for OpenVMS
VAX.
HP C (formerly Compaq C) is a standard conforming im-
plementation of the C programming language with HP
extensions. The HP C compiler runs under the Open-
VMS VAX, Alpha, and I64 Operating Systems and gen-
erates optimized and position-independent code.
HP C is a native-mode language product, and is inte-
grated into the Common Language Environments. All
OpenVMS system services are available to programs
written in HP C. HP C programs can invoke, as func-
tions, modules written in other languages.
HP C supports Record Management Services (RMS)
for sequential file organizations and associated access
methods. HP C also supports stream file-access meth-
ods common among many C implementations.
HP C provides extensive standard-conformance check-
ing, as well as many optional code-quality and portability
diagnostics, and supports the lint-like features of the HP
Source Code Analyzer. The HP Source Code Analyzer
allows the programmer to check for consistent function
usage throughout a program environment. HP C also
generates complete debug and traceback records for
use with OpenVMS Debug. Debug allows the C pro-
grammer to set breakpoints, examine and modify the
contents of user variables, and selectively halt or con-
tinue program execution.
HP C on OpenVMS (Alpha and I64, not VAX) provides
IEEE floating-point support as defined by, and in con-
formance with, the IEEE 754 Standard.
Features
Limited support for installing more than one version
of HP C on the same node, and allowing users to
select which version to use on a per-process basis
(not on OpenVMS I64, which uses PCSI-based kits).
Separate modes of compilation to support each of
six C dialects:
A strict ANSI89 mode that compiles according
to the original ANSI C standard (ANSI/ISO/IEC
9899:1990).
For OpenVMS Alpha and OpenVMS I64, a strict
C99 mode that compiles nearly in accordance with
the 1999 version of the C standard (ANSI/ISO/IEC
9899:1999), except that the support is not com-
plete and has not been fully verified against con-
formance suites. This mode may be useful as
a preview of what will be considered conforming
source code under the new standard, but should
not be relied upon for production use until a fu-
ture release of both HP C and the HP C Run-
Time Library for OpenVMS containing complete
C99 support. For OpenVMS VAX, this mode is
not supported, and is treated as a synonym for
relaxed ANSI mode.
A relaxed ANSI mode that compiles according to
the latest standard supported by the compiler, but
also accepts those HP extensions that do not di-
rectly conflict with the semantics of standard C.
A VAX C mode that supports VAX C extensions
A common mode that supports many common us-
age C constructs as implemented on UNIX sys-
tems including Tru64 UNIX (also called "K&R" C
or "pcc" mode)
August 2006

Summary of content (6 pages)