5.3. Controlling the output of diagnostic messages

These options enable you to control the output of diagnostic messages:

--[no_]brief_diagnostics

Enables or disables a mode where a shorter form of the diagnostic output is used. When enabled, the original source line is not displayed and the error message text is not wrapped when it is too long to fit on a single line. The default is --no_brief_diagnostics.

--diag_style={arm|ide|gnu}

Specifies the style used to display diagnostic messages.

--errors=filename

Redirects the output of diagnostic messages from stderr to the specified errors file filename. This option is useful on systems where output redirection of files is not well supported.

--remarks

Causes the compiler to issue remark messages, such as warning of padding in structures. Remarks are not issued by default.

--[no_]wrap_diagnostics

Enables or disables the wrapping of error message text when it is too long to fit on a single line.

See Command-line options in the Compiler Reference Guide for more information.

Copyright © 2002-2007 ARM Limited. All rights reserved.ARM DUI 0205H
Non-Confidential