ARM VERSION 1.2 Datový list Strana 247

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 276
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 246
Standard C Implementation Definition
ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. B-7
B.1.12 Statements
The number of case values in a
switch
statement is limited only by memory.
Expression evaluation
The compiler performs the usual arithmetic conversions (promotions) set out in the
appropriate C or C++ standard before evaluating an expression.
Note
The compiler can re-order expressions involving only associative and
commutative operators of equal precedence, even in the presence of parentheses.
For example, a + (b – c) might be evaluated as (a + b) – c if a, b, and c are integer
expressions.
Between sequence points, the compiler can evaluate expressions in any order,
regardless of parentheses. Therefore, side effects of expressions between
sequence points can occur in any order.
The compiler can evaluate function arguments in any order.
Any aspect of evaluation order not prescribed by the relevant standard, can vary
between releases of the ARM compilers.
B.1.13 Preprocessing directives
The ANSI standard C header files are stored within the compiler and can be referred to
as described in the standard, for example,
#include <stdio.h>
.
Quoted names for includable source files are supported. The compiler will accept host
filenames or UNIX filenames. For UNIX filenames on non-UNIX hosts, the compiler
tries to translate the filename to a local equivalent.
The recognized
#pragma
directives are shown in Pragmas on page 3-2.
Zobrazit stránku 246
1 2 ... 242 243 244 245 246 247 248 249 250 251 252 ... 275 276

Komentáře k této Příručce

Žádné komentáře