Skip to content

Convert Command-line errors and warnings list into a table #5540

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,39 +1,42 @@
---
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

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

[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](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

[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](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 '\<filename>' 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

Expand Down