Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 7/13/2023
Public
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