# HG changeset patch # User fturovic # Date 1245954932 18000 # Node ID 8554d4866c7f554d87df560205a211cfe1ee5c4f # Parent ba1cc22feee332ed2012cb70b1c435dcb02765c1 minor edits to bring compiler manual in sync with latest release diff -r ba1cc22feee3 -r 8554d4866c7f core/com.nokia.carbide.cpp.compiler.doc.user/book.css --- a/core/com.nokia.carbide.cpp.compiler.doc.user/book.css Wed Jun 24 16:03:55 2009 -0500 +++ b/core/com.nokia.carbide.cpp.compiler.doc.user/book.css Thu Jun 25 13:35:32 2009 -0500 @@ -12,14 +12,14 @@ /* Set default font to serif style, 12-pt and plain */ body, p, table { - font-family: Verdana, Arial, Helvetica, sans-serif; + font-family: Verdana, Helvetica, sans-serif; font-size: 13px; font-weight: normal; } /* Use sans-serif fonts for all title styles */ h1, h2, h3, h4, h5, h6, strong, em { - font-family: Helvetica, sans-serif; + font-family: Verdana, Helvetica, sans-serif; color: #000000; } @@ -48,7 +48,7 @@ padding-top:10px; margin-top:20px; border-top:1px solid #999; - font-family: Helvetica, sans-serif; + font-family: Verdana, Helvetica, sans-serif; font-size: 11px; color:#333; } @@ -68,8 +68,8 @@ .step { /* background-color: #EEE; */ - /* margin: 10px 0px; */ - color: #111; + /* margin: 10px 0px; */ + /* color: #111; */ /* border-bottom:2px solid #EEE; */ } @@ -99,7 +99,7 @@ /* 20070522-replaced gray with green background to match gradiant color for title */ th { - background-color:#FDDD1F; /* background-color:#acd79b; + background-color:#FFC550; /* background-color:#acd79b; background-color:#999; color:#FFF; */ } @@ -121,7 +121,7 @@ /* Make all H4 and H5 items appear in bold gray against a light green background */ div h5, div h4 { padding:5px 0px 5px 12px; - background-color:#FFFF66; + background-color:#FDCB2F; /* background-color: #EEE; */ font-weight:bold; color: #000000; diff -r ba1cc22feee3 -r 8554d4866c7f core/com.nokia.carbide.cpp.compiler.doc.user/html/compiler.htm --- a/core/com.nokia.carbide.cpp.compiler.doc.user/html/compiler.htm Wed Jun 24 16:03:55 2009 -0500 +++ b/core/com.nokia.carbide.cpp.compiler.doc.user/html/compiler.htm Thu Jun 25 13:35:32 2009 -0500 @@ -1,32 +1,33 @@ - - - - - - x86 C/C++ Compiler Reference - - - - - -

 

- - - - - - - - -

-

 

-

 

-

Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
- License: http://www.eclipse.org/legal/epl-v10.html

-

x86 C/C++ Compiler Reference

-

x86 Compiler 3.2.5; July, 2007

-

 

- + + + + + + x86 C/C++ Compiler Reference + + + + + +

 

+ + + + + + + + +

+

 

+

 

+

 

+

Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
+ License: http://www.eclipse.org/legal/epl-v10.html

+

x86 C/C++ Compiler Reference

+

x86 Compiler 3.2.5 (Build 480); July, 2009

+

 

+ \ No newline at end of file diff -r ba1cc22feee3 -r 8554d4866c7f core/com.nokia.carbide.cpp.compiler.doc.user/html/images/mwccsym2_version.png Binary file core/com.nokia.carbide.cpp.compiler.doc.user/html/images/mwccsym2_version.png has changed diff -r ba1cc22feee3 -r 8554d4866c7f core/com.nokia.carbide.cpp.compiler.doc.user/html/introduction/intro.htm --- a/core/com.nokia.carbide.cpp.compiler.doc.user/html/introduction/intro.htm Wed Jun 24 16:03:55 2009 -0500 +++ b/core/com.nokia.carbide.cpp.compiler.doc.user/html/introduction/intro.htm Thu Jun 25 13:35:32 2009 -0500 @@ -1,33 +1,33 @@ - - - - - -Introduction - - - -

Introduction

-

This reference covers version 3.2.x and later of the Carbide.c++ compiler, which implements the C and C++ computer programming languages.

-

NOTE The Carbide C/C++ compiler was formerly known as the Metrowerks C/C++ compiler. For Symbian development, only the x86 based features are supported. All references to other processor architectures are for historical purposes only. -

-

This reference organizes its information in major sections:

- -

This section covers the following topics:

- -

- - - - - + + + + + +Introduction + + + +

Introduction

+

This reference covers version 3.2.x and later of the Carbide.c++ compiler, which implements the C and C++ computer programming languages.

+

NOTE The Carbide C/C++ compiler was formerly known as the Metrowerks C/C++ compiler. For Symbian development, only the x86 based features are supported. All references to other processor architectures are for historical purposes only. +

+

This reference organizes its information in major sections:

+ +

This section covers the following topics:

+ +

+ + + + + diff -r ba1cc22feee3 -r 8554d4866c7f core/com.nokia.carbide.cpp.compiler.doc.user/html/introduction/new_features.htm --- a/core/com.nokia.carbide.cpp.compiler.doc.user/html/introduction/new_features.htm Wed Jun 24 16:03:55 2009 -0500 +++ b/core/com.nokia.carbide.cpp.compiler.doc.user/html/introduction/new_features.htm Thu Jun 25 13:35:32 2009 -0500 @@ -1,140 +1,141 @@ - - - - - -New Features - - - -

New Features

-

This reference has new and updated topics:

- - - - - - + + + + + +New Features & Bug Fixes + + + +

New Features & Bug Fixes

+

A list of bug fixes for the compiler and linker can be found in the Symbian_x86_BuildTools_Notes.txt file located in the <Carbide_Install_Dir>\x86Build\Release_Notes directory.

+

This reference has new and updated topics:

+ + + + + + diff -r ba1cc22feee3 -r 8554d4866c7f core/com.nokia.carbide.cpp.compiler.doc.user/html/introduction/version.htm --- a/core/com.nokia.carbide.cpp.compiler.doc.user/html/introduction/version.htm Wed Jun 24 16:03:55 2009 -0500 +++ b/core/com.nokia.carbide.cpp.compiler.doc.user/html/introduction/version.htm Thu Jun 25 13:35:32 2009 -0500 @@ -1,53 +1,55 @@ - - - - - -Verifying the Compiler Version - - - -

Verifying the Compiler Version

-

To determine what version of the Carbide.c++ compiler you are using, follow the steps below.

-

NOTE The Carbide.c++ compiler is stored in \Nokia\Carbide.c++ <version>\x86Build\Symbian_Tools\Command_Line_Tools.

-
-

From the Carbide IDE

-
    -
  1. Create a new project for your target platform.
  2. -

    Consult the Carbide.c++ - User Guide for information on creating new projects.

    -
  3. Create a new source file named version.c that contains the source code in Listing 1., and add the file to the new project.
  4. -
  5. Select version.c in the project window.
  6. -
  7. From the Project menu, choose Preprocess.
  8. -

    The Carbide.c++ compiler’s preprocessor reads its directives to produce a preprocessed version of version.c.

    -
  9. In the preprocessed source code window, look for the value of the variable version.
  10. -
-
-

This represents the version of the compiler. See Carbide.c++ Predefined Symbols for information on interpreting this value.

-
-
-
-

Listing 1. Verifying Carbide C/C++ Compiler Version

-

/* version.c */

-

/* The version of the compiler is */
- /* assigned to variable "version." */

-

long version = __MWERKS__;

-
-
-

From the Command line

-
    -
  1. Create a new text file named version.c that contains the source code in Listing 1.
  2. -
  3. Preprocess the version.c file.
  4. -

    If you are using the command-line version of the Carbide C/C++ compiler on Microsoft Windows, type:

    -

    mwccSym2 -EP version.c

    -

    TIP For more information on invoking Carbide tools from the command line, see the Invoking Command-Line Tools.

    -
  5. Examine the preprocessor output.
  6. -

    The Carbide C/C++ compiler’s preprocessor reads its directives to produce a preprocessed version of version.c in the command line. Check the value assigned to the variable version, which represents the version of the compiler. See Carbide.c++ Predefined Symbols for information on interpreting this value. -

-
-

- - - - - + + + + + +Verifying the Compiler Version + + + +

Verifying the Compiler Version

+

To determine what version of the Carbide.c++ compiler you are using, follow the steps below.

+

NOTE The Carbide.c++ compiler is stored in <Carbide_Install_Dir>\x86Build\Symbian_Tools\Command_Line_Tools.

+

+

Figure 1. Getting compiler version using Command Prompt.

+
+

From the Carbide IDE

+
    +
  1. Create a new project for your target platform.
  2. +

    Consult the Carbide.c++ + User Guide for information on creating new projects.

    +
  3. Create a new source file named version.c that contains the source code in Listing 1., and add the file to the new project.
  4. +
  5. Select version.c in the project window.
  6. +
  7. From the Project menu, choose Preprocess.
  8. +

    The Carbide.c++ compiler’s preprocessor reads its directives to produce a preprocessed version of version.c.

    +
  9. In the preprocessed source code window, look for the value of the variable version.
  10. +
+
+

This represents the version of the compiler. See Carbide.c++ Predefined Symbols for information on interpreting this value.

+
+
+
+

Listing 1. Verifying Carbide C/C++ Compiler Version

+

/* version.c */

+

/* The version of the compiler is */
+ /* assigned to variable "version." */

+

long version = __MWERKS__;

+
+
+

From the Command line

+
    +
  1. Create a new text file named version.c that contains the source code in Listing 1.
  2. +
  3. Preprocess the version.c file.
  4. +

    If you are using the command-line version of the Carbide C/C++ compiler on Microsoft Windows, type:

    +

    mwccSym2 -EP version.c

    +

    TIP For more information on invoking Carbide tools from the command line, see the Invoking Command-Line Tools.

    +
  5. Examine the preprocessor output.
  6. +

    The Carbide C/C++ compiler’s preprocessor reads its directives to produce a preprocessed version of version.c in the command line. Check the value assigned to the variable version, which represents the version of the compiler. See Carbide.c++ Predefined Symbols for information on interpreting this value. +

+
+

+ + + + + diff -r ba1cc22feee3 -r 8554d4866c7f core/com.nokia.carbide.cpp.compiler.doc.user/introductionTOC.xml --- a/core/com.nokia.carbide.cpp.compiler.doc.user/introductionTOC.xml Wed Jun 24 16:03:55 2009 -0500 +++ b/core/com.nokia.carbide.cpp.compiler.doc.user/introductionTOC.xml Thu Jun 25 13:35:32 2009 -0500 @@ -1,11 +1,11 @@ - - - - - - - - - - - + + + + + + + + + + + diff -r ba1cc22feee3 -r 8554d4866c7f core/com.nokia.carbide.cpp.doc.user/book.css --- a/core/com.nokia.carbide.cpp.doc.user/book.css Wed Jun 24 16:03:55 2009 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/book.css Thu Jun 25 13:35:32 2009 -0500 @@ -48,7 +48,7 @@ padding-top:10px; margin-top:20px; border-top:1px solid #999; - font-family: Helvetica, sans-serif; + font-family: Verdana, Helvetica, sans-serif; font-size: 11px; color:#333; }