Wmain

Warn if return type of main is not expected.

IDE Equivalent

None

Architectures

IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture

Syntax

Linux and Mac OS: -Wmain
  -Wno-main
Windows:  None

Arguments

None

Default

OFF

Description

Warn if return type of main is not expected.

Alternate Options

None