Skip to content

Commit 48f00ee

Browse files
authored
Add "Remarks" and "Example" headings for error references in range [C1051, C1080]
1 parent 30a8d4b commit 48f00ee

21 files changed

+46
-0
lines changed

docs/error-messages/compiler-errors-1/fatal-error-c1051.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ ms.assetid: 87dcbd3b-0952-499a-bd42-64f9e8de2605
1010

1111
> program database file, 'pdbfile', has an obsolete format, delete it and recompile
1212
13+
## Remarks
14+
1315
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)

docs/error-messages/compiler-errors-1/fatal-error-c1052.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.assetid: f2c09a2f-d3c1-4420-9501-ffcb65caf87b
1010

1111
> 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
1212
13+
## Remarks
14+
1315
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.
1416

1517
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.

docs/error-messages/compiler-errors-1/fatal-error-c1053.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.assetid: f50c1c6a-d9cc-42fa-984e-4e2e6e9cd1b1
1010

1111
> '<identifier>' : function too large
1212
13+
## Remarks
14+
1315
The function is too large to compile.
1416

1517
### To fix by using the following possible solutions

docs/error-messages/compiler-errors-1/fatal-error-c1054.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.assetid: 9cfb7307-b22a-4418-b7c0-2621b0ab5b1b
1010

1111
> compiler limit : initializers nested too deeply
1212
13+
## Remarks
14+
1315
The code exceeds the nesting limit on initializers (10-15 levels, depending on the combination of types being initialized).
1416

1517
### To fix by using the following possible solutions

docs/error-messages/compiler-errors-1/fatal-error-c1055.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.assetid: a9fb9190-d7eb-4d5f-b1a2-a41e584a28c1
1010

1111
> compiler limit : out of keys
1212
13+
## Remarks
14+
1315
The source file contains too many symbols. The compiler ran out of hash keys for the symbol table.
1416

1517
### To fix by using the following possible solutions

docs/error-messages/compiler-errors-1/fatal-error-c1057.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ ms.assetid: 1e67e727-963d-42c5-8c32-c0e370d32735
1010

1111
> unexpected end of file in macro expansion
1212
13+
## Remarks
14+
1315
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.

docs/error-messages/compiler-errors-1/fatal-error-c1060.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.assetid: feaf305c-c84c-4160-b974-50e283412849
1010

1111
> compiler is out of heap space
1212
13+
## Remarks
14+
1315
The operating system or run-time library cannot fill a request for memory.
1416

1517
### To fix this error try the following possible solutions

docs/error-messages/compiler-errors-1/fatal-error-c1061.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.assetid: 9366c0bc-96e0-4967-aa7d-4ebf098de806
1010

1111
> compiler limit : blocks nested too deeply
1212
13+
## Remarks
14+
1315
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.
1416

1517
To fix this error you must refactor your code. In any case, deeply nested code is difficult to understand and reason about. Refactoring your code to have fewer nesting levels may improve code quality and simplify maintenance. Break deeply nested code into functions that are called from the original context. Limit the number of loops or chained else-if clauses within a block.

docs/error-messages/compiler-errors-1/fatal-error-c1064.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ ms.assetid: d4598a28-b8f6-4e78-a0c6-db324f5bdfc3
1010

1111
> compiler limit : token overflowed internal buffer
1212
13+
## Remarks
14+
1315
An identifier exceeds the length of the internal buffer used for identifiers. Shorten the name.

docs/error-messages/compiler-errors-1/fatal-error-c1065.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.assetid: 80a27e13-696d-4199-a284-0d6b07446ff3
1010

1111
> compiler limit : out of tags
1212
13+
## Remarks
14+
1315
The source file contains more than 65,523 classes, structs, unions, namespaces, or enums.
1416

1517
Split the file into smaller files.

0 commit comments

Comments
 (0)