Tells the compiler to format diagnostic messages to fit within a certain number of lines.
None
IA-32 architecture, Intel® 64 architecture, IA-64 architecture
Linux and Mac OS: | -diag-length=len |
Windows: | /Qdiag-length=len |
len | Is the number of lines for each diagnostic message display. The default is 72. |
OFF | The compiler issues certain diagnostic messages by default. |
This option tells the compiler to format diagnostic messages to fit within a certain number of lines.
If len equals 0, the diagnostic is displayed on a single line.
None
The following example shows how to format diagnostic messages to fit within 30 lines:
-diag-length=30 !
Linux and Mac OS systems
/Qdiag-length=30 ! Windows systems
diag, Qdiag compiler options