7.46 --diag_style=arm|ide|gnu compiler option

Specifies the display style for diagnostic messages.


Where string is one of:
Display messages using the ARM compiler style.
Include the line number and character count for any line that is in error. These values are displayed in parentheses.
Display messages in the format used by gcc.


The default is --diag_style=arm.


--diag_style=gnu matches the format reported by the GNU Compiler, gcc.
--diag_style=ide matches the format reported by Microsoft Visual Studio.
Choosing the option --diag_style=ide implicitly selects the option --brief_diagnostics. Explicitly selecting --no_brief_diagnostics on the command line overrides the selection of --brief_diagnostics implied by --diag_style=ide.
Selecting either the option --diag_style=arm or the option --diag_style=gnu does not imply any selection of --brief_diagnostics.
Related reference
7.15 --brief_diagnostics, --no_brief_diagnostics
7.44 --diag_error=tag[,tag,...]
7.45 --diag_remark=tag[,tag,...]
7.47 --diag_suppress=tag[,tag,...]
7.48 --diag_suppress=optimizations
7.49 --diag_warning=tag[,tag,...]
7.178 --wrap_diagnostics, --no_wrap_diagnostics
7.50 --diag_warning=optimizations
7.58 --errors=filename
7.173 -W
9.77 #pragma diag_error tag[,tag,...]
9.78 #pragma diag_remark tag[,tag,...]
9.79 #pragma diag_suppress tag[,tag,...]
7.143 --remarks
Chapter 5 Compiler Diagnostic Messages
Non-ConfidentialPDF file icon PDF versionARM DUI0375F
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.