Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 7/13/2023
Public
Document Table of Contents

Wmain

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

Syntax

Linux:

-Wmain

-Wno-main

macOS:

-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.

IDE Equivalent

None

Alternate Options

None