04.01.2015 Views

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Compiler Command-line Options<br />

Errors<br />

When --strict_warnings is in force and a violation of the relevant ISO standard occurs,<br />

the compiler normally issues a warning message.<br />

The severity of diagnostic messages can be controlled in the usual way.<br />

Note<br />

In some cases, the compiler issues an error message instead of a warning when it detects<br />

something that is strictly illegal, and terminates the compilation. For example:<br />

#ifdef $Super$<br />

extern void $Super$$__aeabi_idiv0(void); /* intercept __aeabi_idiv0 */<br />

#endif<br />

Compiling this code with --strict_warnings generates an error if you do not use the<br />

--dollar option.<br />

Example<br />

void foo(void)<br />

{<br />

long long i; /* okay in nonstrict C90 */<br />

}<br />

Compiling this code with --strict_warnings generates a warning message.<br />

<strong>Compilation</strong> continues, even though the expression long long is strictly illegal.<br />

See also<br />

• Source language modes on page 1-3<br />

• Dollar signs in identifiers on page 3-13<br />

• --c90 on page 2-22<br />

• --c99 on page 2-22<br />

• --cpp on page 2-30<br />

• --gnu on page 2-67<br />

• --strict, --no_strict on page 2-119.<br />

2.1.154 --sys_include<br />

This option removes the current place from the include search path.<br />

<strong>ARM</strong> DUI 0348C Copyright © 2007-2010 <strong>ARM</strong>. All rights reserved. 2-121<br />

ID101213<br />

Non-Confidential,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!