Wpointer-arith

疑わしいポインター計算に対して警告を発行するかどうかを指定します。

構文

Linux*:

-Wpointer-arith

-Wno-pointer-arith

macOS*:

-Wpointer-arith

-Wno-pointer-arith

Windows*:

なし

引数

なし

デフォルト

-Wno-pointer-arith

疑わしいポインター計算に対して警告を発行しません。

説明

疑わしいポインター計算に対して警告を発行するかどうかを指定します。

IDE オプション

なし

代替オプション

なし