TNS/E Native Application Conversion Guide
TNS/E Native Application Conversion Guide—529659-003
3-1
3 C and C++ Conversion Tasks
This section describes how to convert TNS C and C++ programs to TNS/E native
mode.
The C and C++ compilers to which this section applies are:
This section discusses:
•
Using the Native C and C++ Compilers on page 3-2
•
Converting Code to Use 32-Bit Pointers and Integers on page 3-3
•
Replacing Obsolete External Function Declarations on page 3-5
•
Replacing Obsolete Keywords on page 3-5
•
Changing Use of _cc_status for Return Values on page 3-6
•
Replacing Calls to Obsolete C Library Supplementary Functions on page 3-7
•
Replacing Calls to Obsolete C Library Guardian Alternate-Model I/O Functions on
page 3-9
•
Checking Calls to Changed C Library Functions on page 3-11
•
Changing Programs That Use Guardian and OSS Environment Interoperability on
page 3-13
•
Changing Code That Relies on Arithmetic Overflow Traps on page 3-13
•
Using Active Backup Programming in C on page 3-14
•
Replacing Obsolete C++ Library Operations on page 3-14
•
Using the Tools.h++ Class Library on page 3-14
•
Specifying Pragmas or Flags on page 3-15
•
Checking Changed Pragmas on page 3-16
•
Removing Obsolete Pragmas on page 3-17
Compiler T Number
TNS C T9255
TNS C++ T9541
TNS c89 T8629
TNS/E c89, c99 T8164
TNS/E CCOMP T0549
TNS/E CPPCOMP T0549










