User and Reference Guide for the Intel® C++ Compiler 14.0

Wmain

Determines whether a warning is issued if the return type of main is not expected.

Syntax

Linux OS and OS X:

-Wmain

-Wno-main

Windows OS:

None

Arguments

None

Default

-Wno-main

No warning is issued if the return type of main is not expected.

Description

This option determines whether a warning is issued if the return type of main is not expected.

IDE Equivalent

None

Alternate Options

None


Submit feedback on this help topic