From 765705ef7da8b041a65527766eb5512abfd59168 Mon Sep 17 00:00:00 2001 From: Rageking8 <106309953+Rageking8@users.noreply.github.com> Date: Tue, 15 Jul 2025 22:39:36 +0800 Subject: [PATCH 1/3] Convert Command-line errors and warnings list into a table --- ...command-line-errors-d8000-through-d9999.md | 42 ++++++++++--------- 1 file changed, 23 insertions(+), 19 deletions(-) diff --git a/docs/error-messages/tool-errors/command-line-errors-d8000-through-d9999.md b/docs/error-messages/tool-errors/command-line-errors-d8000-through-d9999.md index 5eb48e048e..ad2391255c 100644 --- a/docs/error-messages/tool-errors/command-line-errors-d8000-through-d9999.md +++ b/docs/error-messages/tool-errors/command-line-errors-d8000-through-d9999.md @@ -12,28 +12,32 @@ The articles in this section provide a reference to the command-line errors and ## Command-line error messages -[Command-Line Error D8016](../../error-messages/tool-errors/command-line-error-d8016.md) \ -[Command-Line Error D8021](../../error-messages/tool-errors/command-line-error-d8021.md) \ -[Command-Line Error D8022](../../error-messages/tool-errors/command-line-error-d8022.md) \ -[Command-Line Error D8027](../../error-messages/tool-errors/command-line-error-d8027.md) \ -[Command-Line Error D8036](../../error-messages/tool-errors/command-line-error-d8036.md) \ -[Command-Line Error D8037](../../error-messages/tool-errors/command-line-error-d8037.md) \ -[Command-Line Error D8045](../../error-messages/tool-errors/command-line-error-d8045.md) \ -[Command-Line Error D8048](../../error-messages/tool-errors/command-line-error-d8048.md) \ -[Command-Line Error D8049](../../error-messages/tool-errors/command-line-error-d8049.md) +| Error | Message | +|--|--| +| [Command-Line Error D8016](../../error-messages/tool-errors/command-line-error-d8016.md) | 'option1' and 'option2' command-line options are incompatible | +| [Command-Line Error D8021](../../error-messages/tool-errors/command-line-error-d8021.md) | invalid numeric argument 'number' | +| [Command-Line Error D8022](../../error-messages/tool-errors/command-line-error-d8022.md) | cannot open 'messagefile' | +| [Command-Line Error D8027](../../error-messages/tool-errors/command-line-error-d8027.md) | cannot execute 'component' | +| [Command-Line Error D8036](../../error-messages/tool-errors/command-line-error-d8036.md) | '/option' not allowed with multiple source files | +| [Command-Line Error D8037](../../error-messages/tool-errors/command-line-error-d8037.md) | cannot create temporary il file; clean temp directory of old il files | +| [Command-Line Error D8045](../../error-messages/tool-errors/command-line-error-d8045.md) | cannot compile C file 'file' with the /clr option | +| [Command-Line Error D8048](../../error-messages/tool-errors/command-line-error-d8048.md) | cannot compile C file '*file-name*' with /ZW option | +| [Command-Line Error D8049](../../error-messages/tool-errors/command-line-error-d8049.md) | cannot execute '*compiler-component*': command line is too long to fit in debug record | ## Command-line warning messages -[Command-Line Warning D9024](../../error-messages/tool-errors/command-line-warning-d9024.md) \ -[Command-Line Warning D9025](../../error-messages/tool-errors/command-line-warning-d9025.md) \ -[Command-Line Warning D9026](../../error-messages/tool-errors/command-line-warning-d9026.md) \ -[Command-Line Warning D9027](../../error-messages/tool-errors/command-line-warning-d9027.md) \ -[Command-Line Warning D9028](../../error-messages/tool-errors/command-line-warning-d9028.md) \ -[Command-Line Warning D9035](../../error-messages/tool-errors/command-line-warning-d9035.md) \ -[Command-Line Warning D9036](../../error-messages/tool-errors/command-line-warning-d9036.md) \ -[Command-Line Warning D9040](../../error-messages/tool-errors/command-line-warning-d9040.md) \ -[Command-Line Warning D9041](../../error-messages/tool-errors/command-line-warning-d9041.md) \ -[Command-Line Warning D9043](../../error-messages/tool-errors/command-line-warning-d9043.md) +| Warning | Message | +|--|--| +| [Command-Line Warning D9024](../../error-messages/tool-errors/command-line-warning-d9024.md) | unrecognized source file type 'filename', object file assumed | +| [Command-Line Warning D9025](../../error-messages/tool-errors/command-line-warning-d9025.md) | overriding 'option1' with 'option2' | +| [Command-Line Warning D9026](../../error-messages/tool-errors/command-line-warning-d9026.md) | options apply to entire command line | +| [Command-Line Warning D9027](../../error-messages/tool-errors/command-line-warning-d9027.md) | source file '\' ignored | +| [Command-Line Warning D9028](../../error-messages/tool-errors/command-line-warning-d9028.md) | minimal rebuild failure, reverting to normal build | +| [Command-Line Warning D9035](../../error-messages/tool-errors/command-line-warning-d9035.md) | option '*option*' has been deprecated and will be removed in a future release | +| [Command-Line Warning D9036](../../error-messages/tool-errors/command-line-warning-d9036.md) | '*option\_2*' instead of '*option\_1*' | +| [Command-Line Warning D9040](../../error-messages/tool-errors/command-line-warning-d9040.md) | ignoring option '/analyze'; Code Analysis warnings are not available in this edition of the compiler | +| [Command-Line Warning D9041](../../error-messages/tool-errors/command-line-warning-d9041.md) | invalid value '*option-value*' for '/*option-name*'; assuming '*assumed-value*'; add '/analyze' to command-line options when specifying this warning | +| [Command-Line Warning D9043](../../error-messages/tool-errors/command-line-warning-d9043.md) | invalid value 'warning_level' for 'compiler_option'; assuming '4999'; Code Analysis warnings are not associated with warning levels | ## See also From 0652a0a47e6ca9079bbfb2ec0d1aef5d0edc3ec9 Mon Sep 17 00:00:00 2001 From: Rageking8 <106309953+Rageking8@users.noreply.github.com> Date: Tue, 15 Jul 2025 22:41:04 +0800 Subject: [PATCH 2/3] Simplify superfluous relative links in "Command-line errors and warnings" --- ...command-line-errors-d8000-through-d9999.md | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/docs/error-messages/tool-errors/command-line-errors-d8000-through-d9999.md b/docs/error-messages/tool-errors/command-line-errors-d8000-through-d9999.md index ad2391255c..ff2098ed1c 100644 --- a/docs/error-messages/tool-errors/command-line-errors-d8000-through-d9999.md +++ b/docs/error-messages/tool-errors/command-line-errors-d8000-through-d9999.md @@ -8,36 +8,36 @@ ms.assetid: d02ec7df-26a5-4198-ac92-87b29ec9d5c8 The articles in this section provide a reference to the command-line errors and warnings generated by the build tools. These messages have the form `Dxxxx`, where *xxxx* is a four-digit number. -[!INCLUDE[error-boilerplate](../../error-messages/includes/error-boilerplate.md)] +[!INCLUDE[error-boilerplate](../includes/error-boilerplate.md)] ## Command-line error messages | Error | Message | |--|--| -| [Command-Line Error D8016](../../error-messages/tool-errors/command-line-error-d8016.md) | 'option1' and 'option2' command-line options are incompatible | -| [Command-Line Error D8021](../../error-messages/tool-errors/command-line-error-d8021.md) | invalid numeric argument 'number' | -| [Command-Line Error D8022](../../error-messages/tool-errors/command-line-error-d8022.md) | cannot open 'messagefile' | -| [Command-Line Error D8027](../../error-messages/tool-errors/command-line-error-d8027.md) | cannot execute 'component' | -| [Command-Line Error D8036](../../error-messages/tool-errors/command-line-error-d8036.md) | '/option' not allowed with multiple source files | -| [Command-Line Error D8037](../../error-messages/tool-errors/command-line-error-d8037.md) | cannot create temporary il file; clean temp directory of old il files | -| [Command-Line Error D8045](../../error-messages/tool-errors/command-line-error-d8045.md) | cannot compile C file 'file' with the /clr option | -| [Command-Line Error D8048](../../error-messages/tool-errors/command-line-error-d8048.md) | cannot compile C file '*file-name*' with /ZW option | -| [Command-Line Error D8049](../../error-messages/tool-errors/command-line-error-d8049.md) | cannot execute '*compiler-component*': command line is too long to fit in debug record | +| [Command-Line Error D8016](command-line-error-d8016.md) | 'option1' and 'option2' command-line options are incompatible | +| [Command-Line Error D8021](command-line-error-d8021.md) | invalid numeric argument 'number' | +| [Command-Line Error D8022](command-line-error-d8022.md) | cannot open 'messagefile' | +| [Command-Line Error D8027](command-line-error-d8027.md) | cannot execute 'component' | +| [Command-Line Error D8036](command-line-error-d8036.md) | '/option' not allowed with multiple source files | +| [Command-Line Error D8037](command-line-error-d8037.md) | cannot create temporary il file; clean temp directory of old il files | +| [Command-Line Error D8045](command-line-error-d8045.md) | cannot compile C file 'file' with the /clr option | +| [Command-Line Error D8048](command-line-error-d8048.md) | cannot compile C file '*file-name*' with /ZW option | +| [Command-Line Error D8049](command-line-error-d8049.md) | cannot execute '*compiler-component*': command line is too long to fit in debug record | ## Command-line warning messages | Warning | Message | |--|--| -| [Command-Line Warning D9024](../../error-messages/tool-errors/command-line-warning-d9024.md) | unrecognized source file type 'filename', object file assumed | -| [Command-Line Warning D9025](../../error-messages/tool-errors/command-line-warning-d9025.md) | overriding 'option1' with 'option2' | -| [Command-Line Warning D9026](../../error-messages/tool-errors/command-line-warning-d9026.md) | options apply to entire command line | -| [Command-Line Warning D9027](../../error-messages/tool-errors/command-line-warning-d9027.md) | source file '\' ignored | -| [Command-Line Warning D9028](../../error-messages/tool-errors/command-line-warning-d9028.md) | minimal rebuild failure, reverting to normal build | -| [Command-Line Warning D9035](../../error-messages/tool-errors/command-line-warning-d9035.md) | option '*option*' has been deprecated and will be removed in a future release | -| [Command-Line Warning D9036](../../error-messages/tool-errors/command-line-warning-d9036.md) | '*option\_2*' instead of '*option\_1*' | -| [Command-Line Warning D9040](../../error-messages/tool-errors/command-line-warning-d9040.md) | ignoring option '/analyze'; Code Analysis warnings are not available in this edition of the compiler | -| [Command-Line Warning D9041](../../error-messages/tool-errors/command-line-warning-d9041.md) | invalid value '*option-value*' for '/*option-name*'; assuming '*assumed-value*'; add '/analyze' to command-line options when specifying this warning | -| [Command-Line Warning D9043](../../error-messages/tool-errors/command-line-warning-d9043.md) | invalid value 'warning_level' for 'compiler_option'; assuming '4999'; Code Analysis warnings are not associated with warning levels | +| [Command-Line Warning D9024](command-line-warning-d9024.md) | unrecognized source file type 'filename', object file assumed | +| [Command-Line Warning D9025](command-line-warning-d9025.md) | overriding 'option1' with 'option2' | +| [Command-Line Warning D9026](command-line-warning-d9026.md) | options apply to entire command line | +| [Command-Line Warning D9027](command-line-warning-d9027.md) | source file '\' ignored | +| [Command-Line Warning D9028](command-line-warning-d9028.md) | minimal rebuild failure, reverting to normal build | +| [Command-Line Warning D9035](command-line-warning-d9035.md) | option '*option*' has been deprecated and will be removed in a future release | +| [Command-Line Warning D9036](command-line-warning-d9036.md) | '*option\_2*' instead of '*option\_1*' | +| [Command-Line Warning D9040](command-line-warning-d9040.md) | ignoring option '/analyze'; Code Analysis warnings are not available in this edition of the compiler | +| [Command-Line Warning D9041](command-line-warning-d9041.md) | invalid value '*option-value*' for '/*option-name*'; assuming '*assumed-value*'; add '/analyze' to command-line options when specifying this warning | +| [Command-Line Warning D9043](command-line-warning-d9043.md) | invalid value 'warning_level' for 'compiler_option'; assuming '4999'; Code Analysis warnings are not associated with warning levels | ## See also From 043adf56028b2e4f9cef93c1a18341eb9e08a2ef Mon Sep 17 00:00:00 2001 From: Rageking8 <106309953+Rageking8@users.noreply.github.com> Date: Tue, 15 Jul 2025 22:41:56 +0800 Subject: [PATCH 3/3] Update metadata in "Command-line errors and warnings" --- .../tool-errors/command-line-errors-d8000-through-d9999.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/error-messages/tool-errors/command-line-errors-d8000-through-d9999.md b/docs/error-messages/tool-errors/command-line-errors-d8000-through-d9999.md index ff2098ed1c..af66c94022 100644 --- a/docs/error-messages/tool-errors/command-line-errors-d8000-through-d9999.md +++ b/docs/error-messages/tool-errors/command-line-errors-d8000-through-d9999.md @@ -1,8 +1,7 @@ --- -description: "Learn more about: Command-line errors and warnings" title: "Command-line errors and warnings" -ms.date: "04/17/2019" -ms.assetid: d02ec7df-26a5-4198-ac92-87b29ec9d5c8 +description: "Learn more about: Command-line errors and warnings" +ms.date: 04/17/2019 --- # Command-line errors and warnings