Skip to content

Structure error references in range [C1051, C1080] #5492

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 5 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-c1051.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
description: "Learn more about: Fatal Error C1051"
title: "Fatal Error C1051"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1051"
ms.date: 11/04/2016
f1_keywords: ["C1051"]
helpviewer_keywords: ["C1051"]
ms.assetid: 87dcbd3b-0952-499a-bd42-64f9e8de2605
---
# Fatal Error C1051

program database file, 'pdbfile', has an obsolete format, delete it and recompile
> program database file, 'pdbfile', has an obsolete format, delete it and recompile

## Remarks

The compiler cannot update the program database file, which has an older version number. Delete the file and recompile your program with **/Zi** or **/ZI**. For more information, see [/Z7, /Zi, /ZI (Debug Information Format)](../../build/reference/z7-zi-zi-debug-information-format.md)
7 changes: 4 additions & 3 deletions docs/error-messages/compiler-errors-1/fatal-error-c1052.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
---
description: "Learn more about: Fatal Error C1052"
title: "Fatal Error C1052"
ms.date: "05/08/2017"
description: "Learn more about: Fatal Error C1052"
ms.date: 05/08/2017
f1_keywords: ["C1052"]
helpviewer_keywords: ["C1052"]
ms.assetid: f2c09a2f-d3c1-4420-9501-ffcb65caf87b
---
# Fatal Error C1052

> program database file, '*filename*', was generated by the linker with /DEBUG:fastlink; compiler cannot update such PDB files; please delete it or use /Fd to specify a different PDB filename

## Remarks

The compiler cannot update the same program database (PDB) files which are generated by the linker when the [/DEBUG:fastlink](../../build/reference/debug-generate-debug-info.md) option is specified. Normally the compiler-generated PDB files and the linker-generated PDB files have different names. However, if they are set to use the same names, this error can result.

To fix this issue, you can explicitly delete the PDB files before you compile again, or you can create different names for the compiler-generated and linker-generated PDB files.
Expand Down
9 changes: 5 additions & 4 deletions docs/error-messages/compiler-errors-1/fatal-error-c1053.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Fatal Error C1053"
title: "Fatal Error C1053"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1053"
ms.date: 11/04/2016
f1_keywords: ["C1053"]
helpviewer_keywords: ["C1053"]
ms.assetid: f50c1c6a-d9cc-42fa-984e-4e2e6e9cd1b1
---
# Fatal Error C1053

'\<identifier>' : function too large
> '\<identifier>' : function too large

## Remarks

The function is too large to compile.

Expand Down
9 changes: 5 additions & 4 deletions docs/error-messages/compiler-errors-1/fatal-error-c1054.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Fatal Error C1054"
title: "Fatal Error C1054"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1054"
ms.date: 11/04/2016
f1_keywords: ["C1054"]
helpviewer_keywords: ["C1054"]
ms.assetid: 9cfb7307-b22a-4418-b7c0-2621b0ab5b1b
---
# Fatal Error C1054

compiler limit : initializers nested too deeply
> compiler limit : initializers nested too deeply

## Remarks

The code exceeds the nesting limit on initializers (10-15 levels, depending on the combination of types being initialized).

Expand Down
9 changes: 5 additions & 4 deletions docs/error-messages/compiler-errors-1/fatal-error-c1055.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Fatal Error C1055"
title: "Fatal Error C1055"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1055"
ms.date: 11/04/2016
f1_keywords: ["C1055"]
helpviewer_keywords: ["C1055"]
ms.assetid: a9fb9190-d7eb-4d5f-b1a2-a41e584a28c1
---
# Fatal Error C1055

compiler limit : out of keys
> compiler limit : out of keys

## Remarks

The source file contains too many symbols. The compiler ran out of hash keys for the symbol table.

Expand Down
9 changes: 5 additions & 4 deletions docs/error-messages/compiler-errors-1/fatal-error-c1057.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
description: "Learn more about: Fatal Error C1057"
title: "Fatal Error C1057"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1057"
ms.date: 11/04/2016
f1_keywords: ["C1057"]
helpviewer_keywords: ["C1057"]
ms.assetid: 1e67e727-963d-42c5-8c32-c0e370d32735
---
# Fatal Error C1057

unexpected end of file in macro expansion
> unexpected end of file in macro expansion

## Remarks

The compiler reached the end of the source file while gathering macro-invocation arguments, probably due to a missing right parenthesis in the macro invocation.
9 changes: 5 additions & 4 deletions docs/error-messages/compiler-errors-1/fatal-error-c1060.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Fatal Error C1060"
title: "Fatal Error C1060"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1060"
ms.date: 11/04/2016
f1_keywords: ["C1060"]
helpviewer_keywords: ["C1060"]
ms.assetid: feaf305c-c84c-4160-b974-50e283412849
---
# Fatal Error C1060

compiler is out of heap space
> compiler is out of heap space

## Remarks

The operating system or run-time library cannot fill a request for memory.

Expand Down
9 changes: 5 additions & 4 deletions docs/error-messages/compiler-errors-1/fatal-error-c1061.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Fatal Error C1061"
title: "Fatal Error C1061"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1061"
ms.date: 11/04/2016
f1_keywords: ["C1061"]
helpviewer_keywords: ["C1061"]
ms.assetid: 9366c0bc-96e0-4967-aa7d-4ebf098de806
---
# Fatal Error C1061

compiler limit : blocks nested too deeply
> compiler limit : blocks nested too deeply

## Remarks

Nesting of code blocks exceeds the limit of 128 nesting levels. This is a hard limit in the compiler for both C and C++, in both the 32-bit and 64-bit tool set. The count of nesting levels can be increased by anything that creates a scope or block. For example, namespaces, using directives, preprocessor expansions, template expansion, exception handling, loop constructs, and else-if clauses can all increase the nesting level seen by the compiler.

Expand Down
9 changes: 5 additions & 4 deletions docs/error-messages/compiler-errors-1/fatal-error-c1064.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
description: "Learn more about: Fatal Error C1064"
title: "Fatal Error C1064"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1064"
ms.date: 11/04/2016
f1_keywords: ["C1064"]
helpviewer_keywords: ["C1064"]
ms.assetid: d4598a28-b8f6-4e78-a0c6-db324f5bdfc3
---
# Fatal Error C1064

compiler limit : token overflowed internal buffer
> compiler limit : token overflowed internal buffer

## Remarks

An identifier exceeds the length of the internal buffer used for identifiers. Shorten the name.
9 changes: 5 additions & 4 deletions docs/error-messages/compiler-errors-1/fatal-error-c1065.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Fatal Error C1065"
title: "Fatal Error C1065"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1065"
ms.date: 11/04/2016
f1_keywords: ["C1065"]
helpviewer_keywords: ["C1065"]
ms.assetid: 80a27e13-696d-4199-a284-0d6b07446ff3
---
# Fatal Error C1065

compiler limit : out of tags
> compiler limit : out of tags

## Remarks

The source file contains more than 65,523 classes, structs, unions, namespaces, or enums.

Expand Down
9 changes: 5 additions & 4 deletions docs/error-messages/compiler-errors-1/fatal-error-c1067.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Fatal Error C1067"
title: "Fatal Error C1067"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1067"
ms.date: 11/04/2016
f1_keywords: ["C1067"]
helpviewer_keywords: ["C1067"]
ms.assetid: e2c94be6-4573-4571-aac9-73d657fe9f96
---
# Fatal Error C1067

compiler limit : 64K limit on size of a type record has been exceeded
> compiler limit : 64K limit on size of a type record has been exceeded

## Remarks

This error could occur if a symbol has a decorated name exceeding 247 characters. To resolve, shorten the symbol name.

Expand Down
9 changes: 5 additions & 4 deletions docs/error-messages/compiler-errors-1/fatal-error-c1068.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
description: "Learn more about: Fatal Error C1068"
title: "Fatal Error C1068"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1068"
ms.date: 11/04/2016
f1_keywords: ["C1068"]
helpviewer_keywords: ["C1068"]
ms.assetid: 3b4abd16-4552-4900-84be-54f6ebb6c785
---
# Fatal Error C1068

cannot open file 'file'
> cannot open file 'file'

## Remarks

Ensure that `file` is not in use by another program.
13 changes: 8 additions & 5 deletions docs/error-messages/compiler-errors-1/fatal-error-c1070.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
---
description: "Learn more about: Fatal Error C1070"
title: "Fatal Error C1070"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1070"
ms.date: 11/04/2016
f1_keywords: ["C1070"]
helpviewer_keywords: ["C1070"]
ms.assetid: 1058269a-5db6-4c23-a97f-b5269eb9188b
---
# Fatal Error C1070

mismatched #if/#endif pair in file 'filename'
> mismatched #if/#endif pair in file 'filename'

## Remarks

An `#if`, `#ifdef`, or `#ifndef` directive has no corresponding `#endif`.

The following sample generates C1070:
## Example

The following example generates C1070:

```cpp
// C1070.cpp
Expand Down
13 changes: 8 additions & 5 deletions docs/error-messages/compiler-errors-1/fatal-error-c1071.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Fatal Error C1071"
title: "Fatal Error C1071"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1071"
ms.date: 11/04/2016
f1_keywords: ["C1071"]
helpviewer_keywords: ["C1071"]
ms.assetid: 489f1786-370e-4ecd-af67-538fe6e5bd4e
---
# Fatal Error C1071

unexpected end of file found in comment
> unexpected end of file found in comment

## Remarks

The compiler reached the end of the file while scanning a comment.

Expand All @@ -18,7 +19,9 @@ The compiler reached the end of the file while scanning a comment.

1. Missing newline character after a comment on the last line of a source file.

The following sample generates C1071:
## Example

The following example generates C1071:

```cpp
// C1071.cpp
Expand Down
5 changes: 3 additions & 2 deletions docs/error-messages/compiler-errors-1/fatal-error-c1073.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
---
description: "Learn more about: Fatal Error C1073"
title: "Fatal Error C1073"
description: "Learn more about: Fatal Error C1073"
ms.date: 08/17/2022
f1_keywords: ["C1073"]
helpviewer_keywords: ["C1073"]
ms.assetid: a946fcf1-674e-4a7a-a28c-b1effacbabe1
---
# Fatal Error C1073

> Internal error involving incremental compilation (compiler file '*filename*', line *number*)

## Remarks

Recompile the file without using incremental compilation.

This error is obsolete in Visual Studio 2022 and later versions.
9 changes: 5 additions & 4 deletions docs/error-messages/compiler-errors-1/fatal-error-c1074.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
description: "Learn more about: Fatal Error C1074"
title: "Fatal Error C1074"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1074"
ms.date: 11/04/2016
f1_keywords: ["C1074"]
helpviewer_keywords: ["C1074"]
ms.assetid: 979d4ab2-0f1a-472a-85f8-71f48297274f
---
# Fatal Error C1074

'IDB' is illegal extension for PDB file: filename
> 'IDB' is illegal extension for PDB file: filename

## Remarks

The compiler expects program databases to have the .pdb extension.
9 changes: 5 additions & 4 deletions docs/error-messages/compiler-errors-1/fatal-error-c1075.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Fatal Error C1075"
title: "Fatal Error C1075"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1075"
ms.date: 11/04/2016
f1_keywords: ["C1075"]
helpviewer_keywords: ["C1075"]
ms.assetid: 69a74e3d-b53f-4526-a440-2c94e6403355
---
# Fatal Error C1075

the left token was unmatched at the end of the file
> the left token was unmatched at the end of the file

## Remarks

The compiler expected matching *token* before it reached the end of file.

Expand Down
7 changes: 4 additions & 3 deletions docs/error-messages/compiler-errors-1/fatal-error-c1076.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
---
description: "Learn more about: Fatal Error C1076"
title: "Fatal Error C1076"
ms.date: "03/08/2019"
description: "Learn more about: Fatal Error C1076"
ms.date: 03/08/2019
f1_keywords: ["C1076"]
helpviewer_keywords: ["C1076"]
ms.assetid: 84ac1180-3e8a-48e8-9f77-7f18a778b964
---
# Fatal Error C1076

> compiler limit : internal heap limit reached; use /Zm to specify a higher limit

## Remarks

This error can be caused by too many symbols, or too many template instantiations. Starting in Visual Studio 2015, this message may result from Windows virtual memory pressure caused by too many parallel build processes. In this case, the recommendation to use the **/Zm** option should be ignored unless you are using a `#pragma hdrstop` directive.

To resolve this error:
Expand Down
9 changes: 5 additions & 4 deletions docs/error-messages/compiler-errors-1/fatal-error-c1077.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Fatal Error C1077"
title: "Fatal Error C1077"
ms.date: "11/04/2016"
description: "Learn more about: Fatal Error C1077"
ms.date: 11/04/2016
f1_keywords: ["C1077"]
helpviewer_keywords: ["C1077"]
ms.assetid: 514d66f4-b512-479a-b793-ebf45c91e15b
---
# Fatal Error C1077

compiler limit : cannot have more than number command line options
> compiler limit : cannot have more than number command line options

## Remarks

The number of command-line options exceeds the internal limit.

Expand Down
Loading