H-Series Application Migration Guide (H06.03+)

Native C and C++ Migration Tasks
H-Series Application Migration Guide429855-006
5-5
Changed Pragmas
Changed Pragmas
These pragmas that have changed in the H-series RVUs:
INSPECT/NOINSPECT Pragmas Select Different Debuggers
The debugging tools have changed on H-series systems (see TNS/E Native Mode
Debugging Tools on page 2-9). Following are comparisons of the debuggers selected
by the INSPECT and NOINSPECT pragmas in the G-series and H-series RVUs.
INSPECT selects, in order of precedence and depending on availability:
Pragma Reason for Change
Recommended Action
(for execution on H-
series system)
EXTERNDATA GP_OK GP-relative addressing not
supported in H-series.
Pragma ignored,
warning issued
INSPECT Selects different debuggers. No change required (see
INSPECT/NOINSPECT
Pragmas Select
Different Debuggers on
page 5-5)
NON_SHARED Non-PIC not supported in
H-series. All code is PIC, which
can be shared.
Pragma ignored,
warning issued
SRL SRLs not supported in H-series. Pragma ignored,
warning issued
SRLExports SRLs not supported in H-series. Pragma ignored,
warning issued
SRLExportMembers SRLs not supported in H-series. Pragma ignored,
warning issued
SRLName SRLs not supported in H-series. Pragma ignored,
warning issued
NLD and LD H-series has new PIC linker. Replace with ELD
VERSION1 VERSION 1 C++ dialect not
supported in H-series.
Remove pragma or
replace with VERSION2
or VERSION3
G-Series Non-PIC G-Series PIC H-Series
1. Visual Inspect* 1. Visual Inspect* 1.Visual Inspect*
2. Inspect 2. DEBUG 2.Native Inspect
3. DEBUG
*Visual Inspect requires the existence of a matching client connection.