TNS/R Native Application Migration Guide

TNS/R Native Application Migration Guide523745-001
3-1
3 C and C++ Migration Tasks
This section describes how to migrate C and C++ programs to TNS/R native mode.
The C and C++ compilers to which this section applies are:
Subsections:
Using the Native C and C++ Migration Tool on page 3-2
Using the Native C and C++ Compilers on page 3-5
Converting Code to Use 32-Bit Pointers and Integers on page 3-6
Replacing Obsolete External Function Declarations on page 3-7
Replacing Obsolete Keywords on page 3-8
Changing Use of _cc_status for Return Values on page 3-8
Replacing Calls to Obsolete C Library Supplementary Functions on page 3-9
Replacing Calls to Obsolete C Library Guardian Alternate-Model I/O Functions on
page 3-11
Checking Calls to Changed C Library Functions on page 3-13
Changing Programs That Use Guardian and OSS Environment Interoperability on
page 3-14
Changing Code That Relies on Arithmetic Overflow Traps on page 3-15
Using Active Backup Programming in C on page 3-16
Replacing Obsolete C++ Library Operations on page 3-16
Using the Tools.h++ Class Library on page 3-16
Specifying Pragmas or Flags on page 3-17
Checking Changed Pragmas on page 3-18
Removing Obsolete Pragmas on page 3-19
Compiler T Number
TNS C T9255
TNS C++ T9541
TNS c89 T8629
TNS/R c89 T8164
TNS/R NMC T9577
TNS/R NMCPLUS T9225