Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 7/13/2023
Public
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