Sun WorkShop 6 C++ Migration Guide

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.


Sun WorkShop 6 C++ Migration Guide - cover page
Brand
Sun Microsystems
Category
Other software
Document type
User Manual
Language
English
Pages
86
File format
PDF
File size
596 KB
Published
24 November, 2026
Updated
24 November, 2026
MD5 checksum
03F5BC617A5A3F445BAA9B8E327FE561

About this manual

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.

What's inside

  • Introduction
  • Compiler Modes of Operation
  • Using Compatibility Mode
  • Using Standard Mode
  • Using Iostreams and Library Headers
  • Migrating From C++ 3.0
  • Moving From C to C++
  • New Forms of new and delete
  • Standard Exceptions
  • Runtime Type Identification

Specifications

Document Part Number806-3570-10
Document RevisionRevision A
Copyright Year2000

Frequently asked questions

What is the new name for Sun WorkShop C++?

The new name for Sun WorkShop C++ is Forte C++ Enterprise Edition 6.

What is the difference between Compatibility Mode and Standard Mode?

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).

Which macro indicates that new rules for new and delete are in force?

The compiler predefines the macro _ARRAYNEW to the value 1 when the new rules are in force.

Download PDF (596 KB)

More Sun Microsystems Manuals


View all Sun Microsystems manuals →