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

HP C/C++ Programmer’s Guide for NonStop Systems429301-008
B-1
B
TNS C++ Implementation-Defined
Behavior
HP Specific Features for OSS and Guardian Environments on page B-1
°
Length of Identifiers on page B-1
°
Length of String Literals on page B-2
°
Data Types on page B-2
°
Type Qualifiers on page B-2
°
Templates (Parameterized Types) on page B-2
°
Class Libraries on page B-2
°
Interfacing to the Standard C Run-Time Library on page B-3
°
Interfacing to User-Defined C Libraries on page B-3
°
Interfacing to User-Defined C Functions on page B-3
°
Interfacing to NonStop SQL/MP on page B-4
HP Specific Features for the Guardian Environment on page B-4
°
Mixed-Language Programming on page B-4
°
System-Level Programming on page B-4
Differences Between OSS and Guardian Environments on page B-4
°
Pragma SYSTYPE on page B-5
°
Data Models on page B-5
°
Run-Time Libraries on page B-5
°
Applicable Pragmas on page B-5
HP Specific Features for OSS and Guardian
Environments
The HP specific features discussed in this subsection are applicable to the Guardian
environment on all current systems and to the OSS environment on G-series systems.
Length of Identifiers
Cfront generates identifiers up to a maximum of 230 characters except for global
variable names which can be up to a maximum of 127 characters.
For identifiers longer than 230, characters 229 and 230 represent a hashing of all
characters beyond character 228. For global variable names longer than 127,
characters 126 and 127 represent a hashing of all characters beyond character 125.
This rule applies to identifiers and global variable names that you provide and that are
generated by Cfront as a result of name encoding.