Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 6/24/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

diag-error-limit, Qdiag-error-limit

Specifies the maximum number of errors allowed before compilation stops.

Syntax

Linux:

-diag-error-limit=n

-no-diag-error-limit

Windows:

/Qdiag-error-limit:n

/Qdiag-error-limit-

Arguments

n

Is the maximum number of error-level or fatal-level compiler errors allowed.

Default

30

A maximum of 30 error-level and fatal-level messages are allowed.

Description

This option specifies the maximum number of errors allowed before compilation stops. It indicates the maximum number of error-level or fatal-level compiler errors allowed for a file specified on the command line.

If you specify the negative form of the [Q]diag-error-limit option on the command line, there is no limit on the number of errors that are allowed.

If the maximum number of errors is reached, a warning message is issued and the next file (if any) on the command line is compiled.

IDE Equivalent

Visual Studio: Diagnostics > Error Limit

Alternate Options

Linux: -error-limit and -noerror-limit

Windows: /error-limit and /noerror-limit