ARM VERSION 1.2 Datasheet Page 32

  • Download
  • Add to my manuals
  • Print
  • Page
    / 276
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 31
C and C++ Compilers
2-14 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D
Stack checking qualifiers
/noswstackcheck
This option uses the non software-stack-checking ATPCS variant.
This is the default.
/swstackcheck
This option uses the software-stack-checking ATPCS variant.
2.3.3 Setting the source language
This section describes options that determine the source language variant accepted by
the compiler (see also Controlling code generation on page 2-24).
The following options specify how strictly the compiler enforces the standards and
conventions of that language. By default, the C compilers compile ANSI-C, and the
C++ compilers compile as much as they can of ISO/IEC C++.
-ansi
This option compiles ANSI standard C. This is the default for armcc and
tcc. The default mode is a fairly strict ANSI compiler, but without some
of the inconvenient features of the ANSI standard. There are also some
minor extensions allowed (for example
//
in comments and
$
in
identifiers).
-ansic
This option compiles ANSI standard C. This option is synonymous with
the
-ansi
option.
-cpp
This option compiles ISO/IEC C++. This option is the default with the
C++ compilers and not available with the C compilers.
-embeddedcplusplus
This option compiles standard Embedded C++ (EC++). This option is
not available with the C compilers.
-strict
This option enforces more stringent conformance to the ANSI C standard
and the ISO/IEC C++ standard. For example, the following code:
static struct T {int i; };
gives an error when compiled with
-cpp -strict
, but only a warning with
-cpp
. Because no object is declared,
static
is spurious. In the C++
standard, the code shown is therefore illegal.
You can combine language options:
armcc -ansi
Compiles ANSI standard C. This is the default.
armcc -strict
Compiles strict ANSI standard C.
armcpp
Compiles standard C++.
Page view 31
1 2 ... 27 28 29 30 31 32 33 34 35 36 37 ... 275 276

Comments to this Manuals

No comments

Acnodes RM 6193 manuali

Manuali dei proprietari e guide per l'utente per Televisori e monitor Acnodes RM 6193.
We fornisce 1 manuali pdf Acnodes RM 6193 per scaricare gratuitamente in base al tipo di documento: Manuale Utente






Più prodotti e manuali per Televisori e monitor Acnodes

Modelli Tipo di Documento
RP 1200 Manuale Utente   Acnodes RP 1200 User manual, 37 pagine
RP 1200 Manuale Utente   Acnodes RP 1200 User manual, 24 pagine
RP 1200 Manuale Utente   Acnodes RP 1200 User manual, 57 pagine
APH 9220 Manuale Utente   Acnodes APH 9220 User manual, 26 pagine
APH 8084 Manuale Utente   Acnodes APH 8084 User manual, 25 pagine
APM5064 Manuale Utente   Acnodes APM5064 User manual, 25 pagine
RMS 7170 Manuale Utente   Acnodes RMS 7170 User manual, 20 pagine
APH 8064 Manuale Utente   Acnodes APH 8064 User manual, 25 pagine