Developer Guide and Reference

Contents

Wunused-function

Determines whether a warning is issued if a declared function is not used.

Syntax

Linux:
-Wunused-function
-Wno-unused-function
macOS:
-Wunused-function
-Wno-unused-function
Windows:
None
Arguments
None
Default
-Wno-unused-function
No warning is issued if a declared function is not used.
Description
This option determines whether a warning is issued if a declared function is not used.
Alternate Options
None