Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 12/16/2022
Public

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

Document Table of Contents

Wcheck

Tells the compiler to perform compile-time code checking for certain code.

Syntax

Linux and macOS:

-Wcheck

Windows:

/Wcheck

Arguments

None

Default

OFF

No compile-time code checking is performed.

Description

This option tells the compiler to perform compile-time code checking for certain code. It specifies to check for code that exhibits non-portable behavior, represents a possible unintended code sequence, or possibly affects operation of the program because of a quiet change in the ANSI C Standard.

IDE Equivalent

Visual Studio: None

Eclipse: Compilation Diagnostics > Allow Usage Messages

Xcode: Diagnostics > Allow Usage Messages

Alternate Options

None