Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 7/13/2023
Public
Document Table of 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.

IDE Equivalent

None

Alternate Options

None