diag-length, Qdiag-length

Tells the compiler to format diagnostic messages to fit within a certain number of lines.

IDE Equivalent

None

Architectures

IA-32 architecture, Intel® 64 architecture, IA-64 architecture

Syntax

Linux and Mac OS:  -diag-length=len
Windows:  /Qdiag-length=len

Arguments

len Is the number of lines for each diagnostic message display. The default is 72.

Default

OFF The compiler issues certain diagnostic messages by default.

Description

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.

Alternate Options

None

Example

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
 

See Also

diag, Qdiag compiler options