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

Selecting either the option --diag_style=arm or the option --diag_style=gnu does not<br />

imply any selection of --brief_diagnostics.<br />

See also<br />

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

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

• --diag_suppress=tag[,tag,...]<br />

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

• Changing the severity of diagnostic messages on page 6-5 in the Compiler User<br />

Guide.<br />

2.1.51 --diag_suppress=tag[,tag,...]<br />

This option disables diagnostic messages that have the specified tags.<br />

The --diag_suppress option behaves analogously to --diag_errors, except that the<br />

compiler suppresses the diagnostic messages having the specified tags rather than<br />

setting them to have Error severity.<br />

Note<br />

This option has the #pragma equivalent #pragma diag_suppress.<br />

Syntax<br />

--diag_suppress=tag[,tag,...]<br />

Where:<br />

tag[,tag,...]<br />

is a comma-separated list of diagnostic message numbers<br />

specifying the messages to be suppressed.<br />

See also<br />

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

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

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

• #pragma diag_suppress tag[,tag,...] on page 4-63<br />

• Suppressing diagnostic messages on page 6-6 in the Compiler User Guide.<br />

2.1.52 --diag_suppress=optimizations<br />

This option suppresses diagnostic messages for high-level optimizations.<br />

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

ID101213<br />

Non-Confidential,

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

Saved successfully!

Ooh no, something went wrong!