すべての警告をエラーに変更します。
Linux*: | -Werror |
macOS*: | -Werror |
Windows*: | /WX |
なし
オフ |
コンパイラーは、通常どおりに診断結果を返します。 |
このオプションは、すべての警告をエラーに変更します。
Visual Studio*: [General] > [Treat Warnings As Errors]
Eclipse*: [Compilation Diagnostics] > [Treat Warnings As Errors]
Xcode*: [Diagnostics] > [Treat Warnings As Errors]
なし