Skip to content

Structure error references in range [C1081, C1110] #5500

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 4 commits into
base: main
Choose a base branch
from
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/compiler-errors-1/fatal-error-c1081.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Fatal Error C1081"
title: "Fatal Error C1081"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1081"
ms.date: 11/04/2016
f1_keywords: ["C1081"]
helpviewer_keywords: ["C1081"]
ms.assetid: e58adf17-cbe1-4955-a5c7-80622bbba249
---
# Fatal Error C1081

'symbol': file name too long
> 'symbol': file name too long

## Remarks

The length of a file pathname exceeds `_MAX_PATH` (defined by STDLIB.h as 260 characters). Shorten the name of the file.

Expand Down
9 changes: 5 additions & 4 deletions docs/error-messages/compiler-errors-1/fatal-error-c1082.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
description: "Learn more about: Fatal Error C1082"
title: "Fatal Error C1082"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1082"
ms.date: 11/04/2016
f1_keywords: ["C1082"]
helpviewer_keywords: ["C1082"]
ms.assetid: 173179f1-1e14-4a91-9451-122f8a53c0b8
---
# Fatal Error C1082

Cannot close filetype file: 'file': message
> Cannot close filetype file: 'file': message

## Remarks

If the message says "bad file number", the file may have been closing in the foreground while compiling in the background.
6 changes: 4 additions & 2 deletions docs/error-messages/compiler-errors-1/fatal-error-c1083.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
---
description: "Learn more about: Fatal Error C1083"
title: "Fatal Error C1083"
ms.date: "09/01/2017"
description: "Learn more about: Fatal Error C1083"
ms.date: 09/01/2017
f1_keywords: ["C1083"]
helpviewer_keywords: ["C1083"]
---
# Fatal Error C1083

> Cannot open *filetype* file: '*file*': *message*

## Remarks

The compiler generates a C1083 error when it can't find a file. There are many possible causes for this error. An incorrect include search path or missing or misnamed header files are the most common causes, but other file types and issues can also cause C1083. Here are some of the common reasons why the compiler generates this error.

## The specified file name is wrong
Expand Down
9 changes: 5 additions & 4 deletions docs/error-messages/compiler-errors-1/fatal-error-c1084.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Fatal Error C1084"
title: "Fatal Error C1084"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1084"
ms.date: 11/04/2016
f1_keywords: ["C1084"]
helpviewer_keywords: ["C1084"]
ms.assetid: b2f273ef-3a14-4d5f-8ce0-7a11a0388fe6
---
# Fatal Error C1084

Cannot read filetype file: 'file': message
> Cannot read filetype file: 'file': message

## Remarks

This error is generally the result of a failed internal system API call made by the compiler. The message shown when this error is encountered is often generated by either [_wcserror_s](../../c-runtime-library/reference/strerror-s-strerror-s-wcserror-s-wcserror-s.md) or [FormatMessage](/windows/win32/api/winbase/nf-winbase-formatmessage).

Expand Down
7 changes: 3 additions & 4 deletions docs/error-messages/compiler-errors-1/fatal-error-c1085.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
---
description: "Learn more about: Fatal Error C1085"
title: "Fatal Error C1085"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1085"
ms.date: 11/04/2016
f1_keywords: ["C1085"]
helpviewer_keywords: ["C1085"]
ms.assetid: f2766365-d09b-4299-8a98-12e5aca98568
---
# Fatal Error C1085

Cannot write filetype file: 'file': message
> Cannot write filetype file: 'file': message

### To fix by checking the following possible causes

Expand Down
9 changes: 5 additions & 4 deletions docs/error-messages/compiler-errors-1/fatal-error-c1086.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
description: "Learn more about: Fatal Error C1086"
title: "Fatal Error C1086"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1086"
ms.date: 11/04/2016
f1_keywords: ["C1086"]
helpviewer_keywords: ["C1086"]
ms.assetid: 8e3c32c9-cafe-48bf-87bf-f70a1f0367f0
---
# Fatal Error C1086

Cannot seek filetype file: 'file': message
> Cannot seek filetype file: 'file': message

## Remarks

The compiler cannot complete an I/O operation.
9 changes: 5 additions & 4 deletions docs/error-messages/compiler-errors-1/fatal-error-c1087.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
description: "Learn more about: Fatal Error C1087"
title: "Fatal Error C1087"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1087"
ms.date: 11/04/2016
f1_keywords: ["C1087"]
helpviewer_keywords: ["C1087"]
ms.assetid: 2fb4c14e-c6ea-45e4-8ce5-a51d15811a01
---
# Fatal Error C1087

Cannot tell filetype file: 'file': message
> Cannot tell filetype file: 'file': message

## Remarks

The compiler cannot complete an I/O operation.
9 changes: 5 additions & 4 deletions docs/error-messages/compiler-errors-1/fatal-error-c1088.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
description: "Learn more about: Fatal Error C1088"
title: "Fatal Error C1088"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1088"
ms.date: 11/04/2016
f1_keywords: ["C1088"]
helpviewer_keywords: ["C1088"]
ms.assetid: e61ebbb4-ab50-4a66-b2f6-3cc4400d8511
---
# Fatal Error C1088

Cannot flush filetype file: 'file': message
> Cannot flush filetype file: 'file': message

## Remarks

The compiler cannot complete an I/O operation.
9 changes: 5 additions & 4 deletions docs/error-messages/compiler-errors-1/fatal-error-c1089.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
description: "Learn more about: Fatal Error C1089"
title: "Fatal Error C1089"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1089"
ms.date: 11/04/2016
f1_keywords: ["C1089"]
helpviewer_keywords: ["C1089"]
ms.assetid: c4f1e8e5-62c5-464a-9112-99b0790a0fb7
---
# Fatal Error C1089

Cannot truncate filetype file: 'file': message
> Cannot truncate filetype file: 'file': message

## Remarks

The compiler cannot shrink a file to zero length.
4 changes: 3 additions & 1 deletion docs/error-messages/compiler-errors-1/fatal-error-c1090.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: "Learn more about: Fatal Error C1090 PDB API call failed"
title: "Fatal Error C1090"
description: "Learn more about: Fatal Error C1090 PDB API call failed"
ms.date: 04/01/2021
f1_keywords: ["C1090"]
helpviewer_keywords: ["C1090"]
Expand All @@ -9,6 +9,8 @@ helpviewer_keywords: ["C1090"]

> PDB API call failed, error code '*error-number*': *message*

## Remarks

An error occurred in processing a PDB file.

Error C1090 is a catch-all for uncommon compiler PDB file errors that aren't reported separately. We only have generic advice for resolving this issue:
Expand Down
9 changes: 5 additions & 4 deletions docs/error-messages/compiler-errors-1/fatal-error-c1091.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Fatal Error C1091"
title: "Fatal Error C1091"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1091"
ms.date: 11/04/2016
f1_keywords: ["C1091"]
helpviewer_keywords: ["C1091"]
ms.assetid: 812d4201-9154-48b0-b9af-5959c082ca33
---
# Fatal Error C1091

compiler limit: string exceeds 'length' bytes in length
> compiler limit: string exceeds 'length' bytes in length

## Remarks

A string constant exceeded the current limit on the length of strings.

Expand Down
9 changes: 5 additions & 4 deletions docs/error-messages/compiler-errors-1/fatal-error-c1092.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Fatal Error C1092"
title: "Fatal Error C1092"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1092"
ms.date: 11/04/2016
f1_keywords: ["C1092"]
helpviewer_keywords: ["C1092"]
ms.assetid: bcaa87f0-fbfc-4a33-844b-3b9f5d67f279
---
# Fatal Error C1092

Edit and Continue does not support changes to data types; build required
> Edit and Continue does not support changes to data types; build required

## Remarks

You changed or added a data type since the last successful build.

Expand Down
7 changes: 4 additions & 3 deletions docs/error-messages/compiler-errors-1/fatal-error-c1093.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
---
description: "Learn more about: Fatal Error C1093"
title: "Fatal Error C1093"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1093"
ms.date: 11/04/2016
f1_keywords: ["C1093"]
helpviewer_keywords: ["C1093"]
ms.assetid: 61b120e2-44cc-4824-981a-7eb72aa57745
---
# Fatal Error C1093

> API call '*function name*' failed '*location of call*' : '*text from run-time*'

## Remarks

A call to a .NET function failed. The *text from run-time* string may or may not be supplied by the COM runtime.

For more information about system error messages, see the winerror.h system file, and [FormatMessage](/windows/win32/api/winbase/nf-winbase-formatmessage).
5 changes: 2 additions & 3 deletions docs/error-messages/compiler-errors-1/fatal-error-c1094.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
description: "Learn more about: Fatal Error C1094"
title: "Fatal Error C1094"
description: "Learn more about: Fatal Error C1094"
ms.date: 08/17/2022
f1_keywords: ["C1094"]
helpviewer_keywords: ["C1094"]
ms.assetid: 9e1193b2-cb95-44f9-bf6f-019e0d41dd97
---
# Fatal Error C1094

Expand All @@ -16,7 +15,7 @@ The value that is passed to [`/Yc`](../../build/reference/yc-create-precompiled-

## Example

The following sample generates C1094:
The following example generates C1094:

```
// C1094.h
Expand Down
9 changes: 5 additions & 4 deletions docs/error-messages/compiler-errors-1/fatal-error-c1098.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
description: "Learn more about: Fatal Error C1098"
title: "Fatal Error C1098"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1098"
ms.date: 11/04/2016
f1_keywords: ["C1098"]
helpviewer_keywords: ["C1098"]
ms.assetid: 09a1a14b-95bd-49db-b644-192efbaf9f45
---
# Fatal Error C1098

Version mismatch with Edit and Continue engine
> Version mismatch with Edit and Continue engine

## Remarks

The debugger version you are using does not match the compiler used to create the executable. If recompiling does not fix the problem, you may need to reinstall Visual C++ to make sure you have the proper versions of the debugger and compiler.
9 changes: 5 additions & 4 deletions docs/error-messages/compiler-errors-1/fatal-error-c1099.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
description: "Learn more about: Fatal Error C1099"
title: "Fatal Error C1099"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1099"
ms.date: 11/04/2016
f1_keywords: ["C1099"]
helpviewer_keywords: ["C1099"]
ms.assetid: c050b074-a06a-4026-9e10-569029cc0739
---
# Fatal Error C1099

Edit and Continue engine terminating compile
> Edit and Continue engine terminating compile

## Remarks

Edit and Continue loaded a precompiled header file in preparation for compiling code changes, but subsequent actions (such as code changes prior to the precompiled header `#include` statement or stopping the debugger) prevented Edit and Continue from finishing the compile with that process. You do not need to take any action to fix this error.
9 changes: 5 additions & 4 deletions docs/error-messages/compiler-errors-1/fatal-error-c1100.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
description: "Learn more about: Fatal Error C1100"
title: "Fatal Error C1100"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1100"
ms.date: 11/04/2016
f1_keywords: ["C1100"]
helpviewer_keywords: ["C1100"]
ms.assetid: d4d877ea-acd6-4ec7-961e-55e460d98820
---
# Fatal Error C1100

unable to initialize OLE : system error message
> unable to initialize OLE : system error message

## Remarks

The compiler cannot initialize the Component Object Model (COM) library. See [CoInitialize](/windows/win32/api/objbase/nf-objbase-coinitialize).
13 changes: 8 additions & 5 deletions docs/error-messages/compiler-errors-1/fatal-error-c1103.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
---
description: "Learn more about: Fatal Error C1103"
title: "Fatal Error C1103"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1103"
ms.date: 11/04/2016
f1_keywords: ["C1103"]
helpviewer_keywords: ["C1103"]
ms.assetid: 9d276939-9c47-4235-9d20-76b8434f9731
---
# Fatal Error C1103

fatal error importing progid: 'message'
> fatal error importing progid: 'message'

## Remarks

The compiler detected a problem importing a type library. For example, you cannot specify a type library with progid and also specify `no_registry`.

For more information, see [#import Directive](../../preprocessor/hash-import-directive-cpp.md).

The following sample will generate C1103:
## Example

The following example will generate C1103:

```cpp
// C1103.cpp
Expand Down
13 changes: 8 additions & 5 deletions docs/error-messages/compiler-errors-1/fatal-error-c1104.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
---
description: "Learn more about: Fatal Error C1104"
title: "Fatal Error C1104"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1104"
ms.date: 11/04/2016
f1_keywords: ["C1104"]
helpviewer_keywords: ["C1104"]
ms.assetid: 45bd85c4-77d3-4d3c-b167-49c563aefb4d
---
# Fatal Error C1104

fatal error importing libid: 'message'
> fatal error importing libid: 'message'

## Remarks

The compiler detected a problem importing a type library. For example, you cannot specify a type library with libid and also specify `no_registry`.

For more information, see [#import Directive](../../preprocessor/hash-import-directive-cpp.md).

The following sample will generate C1104:
## Example

The following example will generate C1104:

```cpp
// C1104.cpp
Expand Down
Loading