This guide provides instructions for migrating C++ code to Sun WorkShop 6, covering compatibility and standard modes, library usage, and migration from C++ 3.0.
This document serves as a migration guide for developers using Sun WorkShop 6. It details the transition from older development environments to the new Forte Developer products, explaining the renaming of tools and the mapping of legacy product names to the new Forte suite.
The guide provides technical instructions for compiling C++ code in two distinct modes: Compatibility Mode and Standard Mode. It covers specific language semantics, such as changes to copy constructors, static storage classes, and the handling of new and delete operators. Additionally, it addresses the migration of code from C++ 3.0 and the integration of standard library headers like Iostreams.
| Document Part Number | 806-3570-10 |
|---|---|
| Document Revision | Revision A |
| Copyright Year | 2000 |
The new name for Sun WorkShop C++ is Forte C++ Enterprise Edition 6.
Compatibility Mode uses old rules and the old run-time library (libC.so), while Standard Mode uses new rules and the new standard library (libCstd.so).
The compiler predefines the macro _ARRAYNEW to the value 1 when the new rules are in force.