Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 7/13/2023
Public

Visible to Intel only — GUID: GUID-A6AD3CC6-1B36-41A5-B0DB-391C92B1BB08

Document Table of Contents

Wmissing-prototypes

Determines whether warnings are issued for missing prototypes.

Syntax

Linux:

-Wmissing-prototypes

-Wno-missing-prototypes

macOS:

-Wmissing-prototypes

-Wno-missing-prototypes

Windows:

None

Arguments

None

Default

-Wno-missing-prototypes

No warnings are issued for missing prototypes.

Description

Determines whether warnings are issued for missing prototypes.

If -Wmissing-prototypes is specified, it tells the compiler to detect global functions that are defined without a previous prototype declaration.

IDE Equivalent

None

Alternate Options

None