Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 3/22/2024
Public
Document Table of Contents

Wmissing-prototypes

Determines whether warnings are issued for missing prototypes.

Syntax

Linux:

-Wmissing-prototypes

-Wno-missing-prototypes

Windows:

/Wmissing-prototypes

/Wno-missing-prototypes

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