Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 9/08/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

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

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