HP-UX 11i Version 1.6 Release Notes

Programming
aC++ and C Compilers
Chapter 7
93
Impact
The bundled C compiler, which is used to regenerate kernel tables, is replaced with a
C++ compiler operating in ANSI C mode. This change should be transparent.
The complete contents of the /opt/aCC directory occupy approximately 112MB.
The complete contents of the /opt/ansic directory occupy approximately 174MB. This
is approximately twice the size of the HP-UX 11i v1.5 /opt/ansic directory due to
retaining the old HP-C compiler in /opt/ansic/legacy_hpc (approximately 82MB).
Compatibility
Compatibility exception list for the HP-UX 11i v1.6 ANSI C compiler versus HP-UX 11i
v1.5 HP-C:
no support for implicit “int” variable declarations
no built-in __int32 a data type (use #define __int32 ... if needed)
no +M0, +M1, or +M2 migration options. They are all ignored
no MPE long pointers (^)
no support for the HP_ALIGN pragma (MPE alignments) use “pack” pragma
no support for +L (listing) option and the related listing control #pragmas (LINES,
WIDTH, TITLE, SUBTITLE, PAGE, LIST and AUTOPAGE)
no support for the standalone C tools: lint, cb, cflow, cxref, endif, protogen
Performance
Users may experience some degradation in compile time performance.
Obsolescence
The transition link from /usr/bin/cc may be removed in the future. It is recommended
that you include contents of the file/etc/PATH in the PATH variable of your .profile,
or manually adjust their paths to access the C compilers (cc and cc_bundled) in their
new locations.
Documentation
The old HP-C manpages (cc (1), c89 (1)) and C Tools manpages (cxref (1), protogen (1), cb
(1), cflow (1), lint (1)) are retained with the legacy HP-C compiler installed under
/opt/ansic/legacy_hpc. Users must change their
MANPATH
or use the -M option in
order to access these manpages in their new location,
/opt/ansic/legacy_hpc/share/man/man1.Z .