Skip to content
Merged
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-warning-d9024.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Command-Line Warning D9024"
title: "Command-Line Warning D9024"
ms.date: "11/04/2016"
description: "Learn more about: Command-Line Warning D9024"
ms.date: 11/04/2016
f1_keywords: ["D9024"]
helpviewer_keywords: ["D9024"]
ms.assetid: daf4896d-223d-4af0-9b6d-89109cf3d1bb
---
# Command-Line Warning D9024

unrecognized source file type 'filename', object file assumed
> unrecognized source file type 'filename', object file assumed

## Remarks

The extension of the specified file was not recognized. The file was assumed to be an object file and was passed to the linker.

Expand Down
9 changes: 5 additions & 4 deletions docs/error-messages/tool-errors/command-line-warning-d9025.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Command-Line Warning D9025"
title: "Command-Line Warning D9025"
ms.date: "11/04/2016"
description: "Learn more about: Command-Line Warning D9025"
ms.date: 11/04/2016
f1_keywords: ["D9025"]
helpviewer_keywords: ["D9025"]
ms.assetid: 6edff72c-1508-46c2-99f4-0e4b3c5e60c9
---
# Command-Line Warning D9025

overriding 'option1' with 'option2'
> overriding 'option1' with 'option2'

## Remarks

The *option1* option was specified but was then overridden by *option2*. The *option2* option was used.

Expand Down
7 changes: 5 additions & 2 deletions docs/error-messages/tool-errors/command-line-warning-d9026.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
---
description: "Learn more about: Command-line warning D9026"
title: "Command-line warning D9026"
description: "Learn more about: Command-line warning D9026"
ms.date: 12/09/2021
f1_keywords: ["D9026"]
helpviewer_keywords: ["D9026"]
ms.assetid: 149fe5e3-5329-4be8-b871-49dfd423aaba
---
# Command-line warning D9026

> options apply to entire command line

## Remarks

A global option was specified after one or more filenames were specified. The option was also applied to the files that preceded it.

## Example

For example, consider this command line:

`CL verdi.c /O2 puccini.c`
Expand Down
10 changes: 8 additions & 2 deletions docs/error-messages/tool-errors/command-line-warning-d9027.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,17 @@ helpviewer_keywords: ["D9027"]
---
# Command-Line Warning D9027

source file '\<filename>' ignored
> source file '\<filename>' ignored

## Remarks

CL.exe ignored the input source file.

This warning can be caused by a space between the /Fo option and an output filename on a command line with the /c option. For example:
This warning can be caused by a space between the /Fo option and an output filename on a command line with the /c option.

## Example

For example:

```cmd
cl /c /Fo output.obj input.c
Expand Down
7 changes: 4 additions & 3 deletions docs/error-messages/tool-errors/command-line-warning-d9028.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
---
description: "Learn more about: Command-Line Warning D9028"
title: "Command-Line Warning D9028"
ms.date: "04/08/2019"
description: "Learn more about: Command-Line Warning D9028"
ms.date: 04/08/2019
f1_keywords: ["D9028"]
helpviewer_keywords: ["D9028"]
ms.assetid: 03852b51-fa59-4114-ab1f-2af0509119af
---
# Command-Line Warning D9028

> minimal rebuild failure, reverting to normal build

## Remarks

The project .idb file is corrupt. Delete the file and rebuild.

For more information on minimal rebuilds and the .idb file, see the deprecated [/Gm compiler option](../../build/reference/gm-enable-minimal-rebuild.md).
5 changes: 2 additions & 3 deletions docs/error-messages/tool-errors/command-line-warning-d9035.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
description: "Learn more about: Command-Line Warning D9035"
title: "Command-Line Warning D9035"
ms.date: "12/10/2018"
description: "Learn more about: Command-Line Warning D9035"
ms.date: 12/10/2018
f1_keywords: ["D9035"]
helpviewer_keywords: ["D9035"]
ms.assetid: 6254f933-e37a-45ba-b860-1a870d1bc8e8
---
# Command-Line Warning D9035

Expand Down
5 changes: 2 additions & 3 deletions docs/error-messages/tool-errors/command-line-warning-d9036.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
description: "Learn more about: Command-Line Warning D9036"
title: "Command-Line Warning D9036"
ms.date: "12/10/2018"
description: "Learn more about: Command-Line Warning D9036"
ms.date: 12/10/2018
f1_keywords: ["D9036"]
helpviewer_keywords: ["D9036"]
ms.assetid: 68276e84-8d4e-4d4a-a9db-2874c81dfe66
---
# Command-Line Warning D9036

Expand Down
7 changes: 4 additions & 3 deletions docs/error-messages/tool-errors/command-line-warning-d9040.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
---
description: "Learn more about: Command-Line Warning D9040"
title: "Command-Line Warning D9040"
ms.date: "11/04/2016"
description: "Learn more about: Command-Line Warning D9040"
ms.date: 11/04/2016
f1_keywords: ["D9040"]
helpviewer_keywords: ["D9040"]
ms.assetid: 415e7f04-c1bd-4ac1-924a-03efa4645140
---
# Command-Line Warning D9040

> ignoring option '/analyze'; Code Analysis warnings are not available in this edition of the compiler

## Remarks

The **`/analyze`** command line option is not available in all editions of Visual Studio. To remedy this warning, either switch to a supported edition of Visual Studio, or remove the command line option.

## See also
Expand Down
7 changes: 4 additions & 3 deletions docs/error-messages/tool-errors/command-line-warning-d9041.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
---
description: "Learn more about: Command-Line Warning D9041"
title: "Command-Line Warning D9041"
ms.date: "11/04/2016"
description: "Learn more about: Command-Line Warning D9041"
ms.date: 11/04/2016
f1_keywords: ["D9041"]
helpviewer_keywords: ["D9041"]
ms.assetid: ada8815f-4246-4e25-b57d-a7f16fa107cc
---
# Command-Line Warning D9041

> invalid value '*option-value*' for '/*option-name*'; assuming '*assumed-value*'; add '/analyze' to command-line options when specifying this warning

## Remarks

A Code Analysis warning number was added to the **`/wd`**, **`/we`**, **`/wo`**, or **`/wl`** command line option without also specifying the **`/analyze`** command line option. To remedy this error, either add the **`/analyze`** command line option, or remove the invalid warning number from the appropriate **`/w`** command line option.

## Example
Expand Down
9 changes: 4 additions & 5 deletions docs/error-messages/tool-errors/command-line-warning-d9043.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
---
description: "Learn more about: Command-Line Warning D9043"
title: "Command-Line Warning D9043"
ms.date: "11/04/2016"
description: "Learn more about: Command-Line Warning D9043"
ms.date: 11/04/2016
f1_keywords: ["D9043"]
helpviewer_keywords: ["D9043"]
ms.assetid: 9263e28d-217b-414c-bfb6-86efd3c27a77
---
# Command-Line Warning D9043

invalid value 'warning_level' for 'compiler_option'; assuming '4999'; Code Analysis warnings are not associated with warning levels
> invalid value 'warning_level' for 'compiler_option'; assuming '4999'; Code Analysis warnings are not associated with warning levels

## Example

The following sample generates C9043.
The following example generates C9043.

```cpp
// D9043.cpp
Expand Down