# 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

Parent topic: Compiler Diagnostic Options