Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 3/31/2023
Public

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

Document Table of Contents

diag-once, Qdiag-once

Tells the compiler to issue one or more diagnostic messages only once.

Syntax

Linux:

-diag-onceid[,id,...]

macOS:

-diag-onceid[,id,...]

Windows:

/Qdiag-once:id[,id,...]

Arguments

id

Is the ID number of the diagnostic message. If you specify more than one message number, they must be separated by commas. There can be no intervening white space between each id.

Default

OFF

The compiler issues certain diagnostic messages by default.

Description

This option tells the compiler to issue one or more diagnostic messages only once.

IDE Equivalent

None

Alternate Options

Linux: -wo (this is a deprecated option)

Windows: /Qwo (this is a deprecated option)