Wmain

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

IDE Equivalent

None

Architectures

IA-32, Intel® 64 architectures

Syntax

Linux and Mac OS X:

-Wmain

-Wno-main

Windows:

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.

Alternate Options

None


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.