H-Series Application Migration Guide (H06.07+, J06.03+)
Contents
H-Series Application Migration Guide—429855-008
iii
4. General Programming Issues (continued)
4. General Programming Issues (continued)
Creating Unstructured Enscribe Files Might Require Program Changes 4-6
DDL Dictionary Conversion Required 4-7
setjmp Buffers Have Different Size and Alignment Requirements 4-7
5. Native C and C++ Migration Tasks
Using the TNS/E Native C and C++ Compilers 5-1
Possible Source Code Changes 5-2
Check Programs that Use NaN Values 5-2
Change Programs that Rely on Proprietary Floating-Point Format 5-2
Avoiding Floating-Point Conflicts 5-2
Check C/C++ Main Routine Object File Name 5-4
Check Programs With Variable-Length Parameter Lists 5-4
Using setjmp() in Functions Marked as Inline 5-4
Using the semctl() Function With a Fourth Parameter 5-4
Check Use of Feature Test Macro 5-5
Changed Pragmas and Flags 5-5
Changed Pragmas 5-6
INSPECT/NOINSPECT Pragmas Select Different Debuggers 5-6
C89 Flags Changed 5-7
Using Conditional Compilation in C and C++ Programs 5-7
Native C and C++ Run-Time Library and Tools.h++ Migration Issues 5-8
Library Names Changed 5-9
Tools.h++ Version 6 Class Library Not Supported 5-9
Toolsh++ TLHMAP File Names Changed 5-10
Migrating to the C++ Standard Library VERSION2 5-10
Migrating to the C++ Standard Library VERSION3 5-10
LIBCOBEY and libc.obey Files Replaced 5-11
OSS Programs That Use Pthreads 5-11
Using the C++ Neutral Dialect 5-11
Undefined Behavior in C and C++ Programs 5-13
New H-Series C and C++ Features 5-13
Pragmas 5-14
Maximum Data Alignment 5-14
64-Bit Data Type and String Conversion Functions 5-14
6. Native COBOL Migration Tasks
Using the TNS/E Native COBOL Compiler 6-1
Directives Changed 6-2










