# Wmissing-declarations

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

## Syntax

Linux: | -Wmissing-declarations -Wno-missing-declarations

macOS: | -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

Parent topic: Compiler Diagnostic Options