Wmissing-declarations

Determines whether warnings are issued for global functions and variables without prior declaration.

Syntax

Linux:

-Wmissing-declarations

-Wno-missing-declarations

Windows:

None

Arguments

None

Default

-Wno-missing-declarations

No warnings are issued for global functions and variables without prior declaration.

Description

This option determines whether warnings are issued for global functions and variables without prior declaration.

IDE Equivalent

None

Alternate Options

None

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