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 />

2.1.105 --loose_implicit_cast<br />

This option makes illegal implicit casts legal, such as implicit casts of a non-zero integer<br />

to a pointer.<br />

Example<br />

int *p = 0x8000;<br />

Compiling this example without the option --loose_implicit_cast, generates an error.<br />

Compiling this example with the option --loose_implicit_cast, generates a warning<br />

message, that you can suppress.<br />

2.1.106 --lower_ropi, --no_lower_ropi<br />

This option enables or disables less restrictive C when compiling with --apcs=/ropi.<br />

Default<br />

The default is --no_lower_ropi.<br />

Note<br />

If you compile with --lower_ropi, then the static initialization is done at runtime by the<br />

C++ constructor mechanism for both C and C++ code. This enables these static<br />

initializations to work with ROPI code.<br />

See also<br />

• --apcs=qualifer...qualifier on page 2-4<br />

• --lower_rwpi, --no_lower_rwpi<br />

• Position independence qualifiers on page 2-24 in the Compiler User Guide.<br />

2.1.107 --lower_rwpi, --no_lower_rwpi<br />

This option enables or disables less restrictive C and C++ when compiling with<br />

--apcs=/rwpi.<br />

Default<br />

The default is --lower_rwpi.<br />

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

ID101213<br />

Non-Confidential,

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

Saved successfully!

Ooh no, something went wrong!