H-Series Application Migration Guide (H06.07+, J06.03+)
Native C and C++ Migration Tasks
H-Series Application Migration Guide—429855-008
5-7
C89 Flags Changed
INSPECT selects, in order of precedence and depending on availability:
NOINSPECT selects:
C89 Flags Changed
These flags are changed in the H-series OSS and PC environments:
Using Conditional Compilation in C and C++ Programs
Programs that use feature test macros to conditionally compile source code for a
specific platform might require changes to ensure correct results when compiled for a
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.
G-Series (PIC and
Non-PIC) H-Series
Debug Native Inspect
Flag Reason for Change Action Required
-Wld
H-series has new PIC linker Replace with -Weld
-Wnld
Non-PIC linker not supported Replace with -Weld
-Wnld_obey (the
corresponding pragma is
LINKFILE, which is
unchanged but submits
commands to
eld instead of
nld).
If used on H-series
c89
command line, contents of
command file are passed to
eld.
Either leave on command
line or replace with
-Weld_obey.
-Wld_obey (the
corresponding pragma is
LINKFILE, which is
unchanged but submits
commands to eld instead of
ld).
If used on H-series c89
command line, contents of
command file are passed to
eld.
Either leave on command
line or replace with
-Weld_obey.
-Wversion1
Version1 C++ dialect not
supported.
Remove or replace with
-Wversion2 or
-Wversion3.
-Wextern_data
GP-relative addressing not
supported.
Flag ignored, warning
issued. No action required
-Wsrl
SRLs not supported Flag ignored, warning
issued. No action required










