From 07eb64cfeb85c1259668a2c1c9cf8e406e8d6842 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefano=20Fam=C3=A0?= <8192713+famastefano@users.noreply.github.com> Date: Sat, 7 Mar 2020 12:02:18 +0100 Subject: [PATCH] /Wx raises Command-Line Error D8021 The correct arg has a capital X `/WX`. `/Wx` is treated like `/W` but fails the parsing and generates an invalid number (I suppose). --- 02-Use_the_Tools_Available.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/02-Use_the_Tools_Available.md b/02-Use_the_Tools_Available.md index 48debce..385f1db 100644 --- a/02-Use_the_Tools_Available.md +++ b/02-Use_the_Tools_Available.md @@ -164,7 +164,7 @@ Not recommended Start with very strict warning settings from the beginning. Trying to raise the warning level after the project is underway can be painful. -Consider using the *treat warnings as errors* setting. `/Wx` with MSVC, `-Werror` with GCC / Clang +Consider using the *treat warnings as errors* setting. `/WX` with MSVC, `-Werror` with GCC / Clang ## LLVM-based tools