Intel® C++ Compiler Classic Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-BDC66133-9F78-45D8-88DE-5DC6ECEF7998
Visible to Intel only — GUID: GUID-BDC66133-9F78-45D8-88DE-5DC6ECEF7998
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
Alternate Options
None