# Wpointer-arith

Determines whether warnings are issued for questionable pointer arithmetic.

## Syntax

Linux: | -Wpointer-arith -Wno-pointer-arith

macOS: | -Wpointer-arith -Wno-pointer-arith

Windows: | None

## Arguments

None

## Default

-Wno-pointer-arith | No warnings are issued for questionable pointer arithmetic.

## Description

Determines whether warnings are issued for questionable pointer arithmetic.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Compiler Diagnostic Options