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

Syntax

Linux and 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

Para obtener información más completa sobre las optimizaciones del compilador, consulte nuestro Aviso de optimización.