Skip to content
Open
Show file tree
Hide file tree
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
9 changes: 5 additions & 4 deletions docs/error-messages/tool-errors/command-line-error-d8016.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Command-Line Error D8016"
title: "Command-Line Error D8016"
ms.date: "11/04/2016"
description: "Learn more about: Command-Line Error D8016"
ms.date: 11/04/2016
f1_keywords: ["D8016"]
helpviewer_keywords: ["D8016"]
ms.assetid: eec51312-7471-4f92-94b2-d517cafc8ef5
---
# Command-Line Error D8016

'option1' and 'option2' command-line options are incompatible
> 'option1' and 'option2' command-line options are incompatible

## Remarks

The command-line options cannot be specified together.

Expand Down
9 changes: 5 additions & 4 deletions docs/error-messages/tool-errors/command-line-error-d8021.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
description: "Learn more about: Command-Line Error D8021"
title: "Command-Line Error D8021"
ms.date: "11/04/2016"
description: "Learn more about: Command-Line Error D8021"
ms.date: 11/04/2016
f1_keywords: ["D8021"]
helpviewer_keywords: ["D8021"]
ms.assetid: 8ec85441-d0d8-42d8-b777-1e4636ea9878
---
# Command-Line Error D8021

invalid numeric argument 'number'
> invalid numeric argument 'number'

## Remarks

A number greater than 65,534 was specified as a numeric argument.
9 changes: 5 additions & 4 deletions docs/error-messages/tool-errors/command-line-error-d8022.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Command-Line Error D8022"
title: "Command-Line Error D8022"
ms.date: "11/04/2016"
description: "Learn more about: Command-Line Error D8022"
ms.date: 11/04/2016
f1_keywords: ["D8022"]
helpviewer_keywords: ["D8022"]
ms.assetid: eb18ec34-d32d-4636-a852-abf2063e886b
---
# Command-Line Error D8022

cannot open 'messagefile'
> cannot open 'messagefile'

## Remarks

The given file was not in the current directory or in a directory specified in the PATH environment variable. The message file contains a brief summary of compiler command-line syntax and options.

Expand Down
9 changes: 5 additions & 4 deletions docs/error-messages/tool-errors/command-line-error-d8027.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Command-Line Error D8027"
title: "Command-Line Error D8027"
ms.date: "11/04/2016"
description: "Learn more about: Command-Line Error D8027"
ms.date: 11/04/2016
f1_keywords: ["D8027"]
helpviewer_keywords: ["D8027"]
ms.assetid: f228220f-0c7f-49a6-a6e0-1f7bd4745aa6
---
# Command-Line Error D8027

cannot execute 'component'
> cannot execute 'component'

## Remarks

The compiler could not run the given compiler component or linker.

Expand Down
9 changes: 5 additions & 4 deletions docs/error-messages/tool-errors/command-line-error-d8036.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Command-Line Error D8036"
title: "Command-Line Error D8036"
ms.date: "11/04/2016"
description: "Learn more about: Command-Line Error D8036"
ms.date: 11/04/2016
f1_keywords: ["D8036"]
helpviewer_keywords: ["D8036"]
ms.assetid: 420a8daf-1873-49cd-95ea-a603d77b9410
---
# Command-Line Error D8036

'/option' not allowed with multiple source files
> '/option' not allowed with multiple source files

## Remarks

These compiler options cannot be used with multiple source files:

Expand Down
9 changes: 5 additions & 4 deletions docs/error-messages/tool-errors/command-line-error-d8037.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Command-Line Error D8037"
title: "Command-Line Error D8037"
ms.date: "11/04/2016"
description: "Learn more about: Command-Line Error D8037"
ms.date: 11/04/2016
f1_keywords: ["D8037"]
helpviewer_keywords: ["D8037"]
ms.assetid: acddaaa0-bd84-426f-a37b-8f680b379c9d
---
# Command-Line Error D8037

cannot create temporary il file; clean temp directory of old il files
> cannot create temporary il file; clean temp directory of old il files

## Remarks

There is not enough space to create temporary compiler intermediate files. To remedy this error, remove any old MSIL files in the directory specified by the **TMP** environment variable. These files will be of the form _CL_hhhhhhhh.ss, where h represents a random hexadecimal digit and ss represents the type of IL file. Also, be sure to update your machine with the latest operating system patches.

Expand Down
9 changes: 5 additions & 4 deletions docs/error-messages/tool-errors/command-line-error-d8045.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Command-Line Error D8045"
title: "Command-Line Error D8045"
ms.date: "11/04/2016"
description: "Learn more about: Command-Line Error D8045"
ms.date: 11/04/2016
f1_keywords: ["D8045"]
helpviewer_keywords: ["D8045"]
ms.assetid: 01c8808c-bac1-4b4d-8a90-b595f95e9318
---
# Command-Line Error D8045

cannot compile C file 'file' with the /clr option
> cannot compile C file 'file' with the /clr option

## Remarks

Only C++ source code files can be passed to a compilation that uses **/clr**. Use **/TP** to compile a .c file as a .cpp file; see [/Tc, /Tp, /TC, /TP (Specify Source File Type)](../../build/reference/tc-tp-tc-tp-specify-source-file-type.md) for more information.

Expand Down
6 changes: 3 additions & 3 deletions docs/error-messages/tool-errors/command-line-error-d8048.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: "Learn about causes and solutions for command-line error D8048"
title: "Command-Line Error D8048"
description: "Learn about causes and solutions for command-line error D8048"
ms.date: 04/18/2021
f1_keywords: ["D8048"]
helpviewer_keywords: ["D8048"]
Expand All @@ -9,10 +9,10 @@ helpviewer_keywords: ["D8048"]

> cannot compile C file '*file-name*' with /ZW option

Only C++ source code files can be passed to the compiler when you use the [`/ZW` (Windows Runtime compilation)](../../build/reference/zw-windows-runtime-compilation.md) compiler option.

## Remarks

Only C++ source code files can be passed to the compiler when you use the [`/ZW` (Windows Runtime compilation)](../../build/reference/zw-windows-runtime-compilation.md) compiler option.

By default, all files in a C++ Universal Windows platform (UWP) project are compiled by using the **`/ZW`** compiler option. The **`/ZW`** option enables the Windows Runtime compiler extensions, or C++/CX. Unfortunately, **`/ZW`** doesn't work on C source files.

You can disable C++/CX compilation selectively for C files in Visual Studio projects. Select your C file in Solution Explorer, then right-click to choose **Properties** from the shortcut menu. In the **Property Pages** dialog, select the **Configuration Properties** > **C/C++** -> **General** property page. Set the **Consume Windows Runtime Extension** property to *`No`*. Choose **OK** to save your changes.
Expand Down
6 changes: 3 additions & 3 deletions docs/error-messages/tool-errors/command-line-error-d8049.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: "Learn about the cause and solutions for command-line error D8049"
title: "Command-Line Error D8049"
description: "Learn about the cause and solutions for command-line error D8049"
ms.date: 10/28/2021
f1_keywords: ["D8049"]
helpviewer_keywords: ["D8049"]
Expand All @@ -9,10 +9,10 @@ helpviewer_keywords: ["D8049"]

> cannot execute '*compiler-component*': command line is too long to fit in debug record

An internal length limit on debug record include paths was exceeded.

## Remarks

An internal length limit on debug record include paths was exceeded.

When the compiler creates debug records in an object file, it uses the full path for each included file. Absolute paths are recorded as specified. For relative include paths, the debug record prepends the build's current working directory to the relative path. If your build runs in a relatively deep path, the corresponding path records get longer. The total length of too many long paths can exceed the internal limits of the compiler.

## To resolve this issue
Expand Down