Developer Guide and Reference

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.
Alternate Options
None