Developer Guide and Reference

  • 2021.2
  • 04/07/2021
  • Public Content
  • Download as PDF
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

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.