Datasheet
C and C++ Compilers
2-38 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D
-Ec
This option suppresses all implicit cast errors, such as implicit casts of a
nonzero
int
to
pointer
.
C3029E: ’=’: implicit cast of non-0 int to pointer
-Ef
This option suppresses errors for unclean casts, such as
short
to
pointer
.
-Ei
For C++ only, this option downgrades from error to warning the use of
implicit
int
in constructs such as
const i;
.
C2225W: declaration lacks type/storage-class (assuming 'int'): 'i'
-El
This option suppresses errors about linkage disagreements where
functions are implicitly declared as
extern
and then later redeclared as
static
.
C2991E: linkage disagreement for ’f’ - treated as ’extern’
-Ep
This option suppresses errors arising as the result of extra characters at
the end of a preprocessor line.
-Ez
This option suppresses the errors caused by zero-length arrays.
C3017E: size of a [] array required, treated as [1]