29.12.2014 Views

RealView Compilation Tools Compiler Reference Guide - ARM ...

RealView Compilation Tools Compiler Reference Guide - ARM ...

RealView Compilation Tools Compiler Reference Guide - ARM ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>Compiler</strong> Command-line Options<br />

Syntax<br />

--locale=lang_country<br />

Where:<br />

lang_country is the new default locale.<br />

Use this option in combination with --multibyte_chars.<br />

Restrictions<br />

The locale name might be case-sensitive, depending on the host platform.<br />

The permitted settings of locale are determined by the host platform.<br />

Ensure that you have installed the appropriate locale support for the host platform.<br />

Example<br />

To compile Japanese source files on an English-based Windows workstation, use:<br />

--multibyte_chars --locale=japanese<br />

and on a UNIX workstation use:<br />

--multibyte_chars --locale=ja_JP<br />

See also<br />

• --message_locale=lang_country[.codepage] on page 2-61<br />

• --[no_]multibyte_chars on page 2-62.<br />

2.1.76 --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-58 Copyright © 2007, 2010 <strong>ARM</strong> Limited. All rights reserved. <strong>ARM</strong> DUI 0348A<br />

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!