# Wformat

Determines whether argument checking is enabled for calls to printf, scanf, and so forth.

## Syntax

Linux: | -Wformat -Wno-format

macOS: | -Wformat -Wno-format

Windows: | None

## Arguments

None

## Default

-Wno-format | Argument checking is not enabled for calls to printf, scanf, and so forth.

## Description

This option determines whether argument checking is enabled for calls to printf, scanf, and so forth.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Compiler Diagnostic Options