Intel® C++ Compiler 16.0 User and Reference Guide

Wunused-function

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

Syntax

Linux and OS X:

-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.

IDE Equivalent

None

Alternate Options

None