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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

• -o filename on page 2-65.<br />

2.1.43 --enum_is_int<br />

This option forces the size of all enumeration types to be at least four bytes.<br />

This option is switched off by default and the smallest data type is used that can hold<br />

the values of all enumerators.<br />

Note<br />

The --enum_is_int option is not recommended for general use.<br />

2.1.44 --errors=filename<br />

This option redirects the output of diagnostic messages from stderr to the specified<br />

errors file.<br />

Syntax<br />

--errors=filename<br />

Where:<br />

filename<br />

is the name of the file to which errors are to be redirected.<br />

Diagnostics that relate to problems with the command options are not redirected, for<br />

example, if you type an option name incorrectly. However, if you specify an invalid<br />

argument to an option, for example --cpu=999, the related diagnostic is redirected to the<br />

specified filename.<br />

See also<br />

• --[no_]brief_diagnostics on page 2-10<br />

• --diag_error=tag[,tag,...] on page 2-26<br />

• --diag_remark=tag[,tag,... ] on page 2-27<br />

• --diag_style={arm|ide|gnu} on page 2-27<br />

• --diag_suppress=tag[,tag,...] on page 2-28<br />

• --diag_warning=tag[,tag,...] on page 2-30<br />

• --remarks on page 2-78<br />

• -W on page 2-94<br />

• --[no_]wrap_diagnostics on page 2-96<br />

• Chapter 5 Diagnostic Messages in the <strong>Compiler</strong> User <strong>Guide</strong>.<br />

2-34 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!