diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1051.md b/docs/error-messages/compiler-errors-1/fatal-error-c1051.md index da1b46802d..d2aab16d09 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1051.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1051.md @@ -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) diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1052.md b/docs/error-messages/compiler-errors-1/fatal-error-c1052.md index 7a564c3f29..37f4cfe70c 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1052.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1052.md @@ -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. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1053.md b/docs/error-messages/compiler-errors-1/fatal-error-c1053.md index b97c1b622f..111e9c5fcb 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1053.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1053.md @@ -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 -'\' : function too large +> '\' : function too large + +## Remarks The function is too large to compile. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1054.md b/docs/error-messages/compiler-errors-1/fatal-error-c1054.md index ff4963cff7..826abb4906 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1054.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1054.md @@ -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). diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1055.md b/docs/error-messages/compiler-errors-1/fatal-error-c1055.md index b60f41acd7..d3106aef98 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1055.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1055.md @@ -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. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1057.md b/docs/error-messages/compiler-errors-1/fatal-error-c1057.md index 238df928a7..646398bb39 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1057.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1057.md @@ -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. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1060.md b/docs/error-messages/compiler-errors-1/fatal-error-c1060.md index 60e1f7a1e3..d3d409b2d1 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1060.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1060.md @@ -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. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1061.md b/docs/error-messages/compiler-errors-1/fatal-error-c1061.md index 9e17fd39f8..96b7691a60 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1061.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1061.md @@ -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. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1064.md b/docs/error-messages/compiler-errors-1/fatal-error-c1064.md index e3f16ff5dc..c1469fc91e 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1064.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1064.md @@ -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. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1065.md b/docs/error-messages/compiler-errors-1/fatal-error-c1065.md index 2db2bf5c21..b0650fec32 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1065.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1065.md @@ -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. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1067.md b/docs/error-messages/compiler-errors-1/fatal-error-c1067.md index b9d556d5a6..f9a3bfd24e 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1067.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1067.md @@ -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. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1068.md b/docs/error-messages/compiler-errors-1/fatal-error-c1068.md index ff9d25709d..86414b2659 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1068.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1068.md @@ -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. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1070.md b/docs/error-messages/compiler-errors-1/fatal-error-c1070.md index a1cc8f0a77..df482bb1aa 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1070.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1070.md @@ -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 diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1071.md b/docs/error-messages/compiler-errors-1/fatal-error-c1071.md index 82f1926458..bb3ba4b6f5 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1071.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1071.md @@ -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. @@ -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 diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1073.md b/docs/error-messages/compiler-errors-1/fatal-error-c1073.md index 5bdfc8ee77..8a58d0814a 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1073.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1073.md @@ -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. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1074.md b/docs/error-messages/compiler-errors-1/fatal-error-c1074.md index 4058a24309..0966a7fdc7 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1074.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1074.md @@ -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. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1075.md b/docs/error-messages/compiler-errors-1/fatal-error-c1075.md index e63540537d..8ecce1735e 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1075.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1075.md @@ -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. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1076.md b/docs/error-messages/compiler-errors-1/fatal-error-c1076.md index 42d68e8210..e0851683ca 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1076.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1076.md @@ -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: diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1077.md b/docs/error-messages/compiler-errors-1/fatal-error-c1077.md index a759bcabfa..fb66328c98 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1077.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1077.md @@ -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. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1079.md b/docs/error-messages/compiler-errors-1/fatal-error-c1079.md index d66d45a595..0b3c371018 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1079.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1079.md @@ -1,15 +1,16 @@ --- -description: "Learn more about: Fatal Error C1079" title: "Fatal Error C1079" +description: "Learn more about: Fatal Error C1079" ms.date: 08/17/2022 f1_keywords: ["C1079"] helpviewer_keywords: ["C1079"] -ms.assetid: cf06a65a-f9a5-4bd8-8128-201a6cbe2113 --- # Fatal Error C1079 > compiler limit : PCH file size limit exceeded +## Remarks + The PCH file exceeds the 4 GB size limit. This error is obsolete in Visual Studio 2022 and later versions. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1080.md b/docs/error-messages/compiler-errors-1/fatal-error-c1080.md index c5d058e6e8..3868560b97 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1080.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1080.md @@ -1,13 +1,14 @@ --- -description: "Learn more about: Fatal Error C1080" title: "Fatal Error C1080" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1080" +ms.date: 11/04/2016 f1_keywords: ["C1080"] helpviewer_keywords: ["C1080"] -ms.assetid: 01e9e7c0-6a20-4539-b9d2-d27e7afcc8e6 --- # Fatal Error C1080 -compiler limit : command line option exceeded limit of number characters +> compiler limit : command line option exceeded limit of number characters + +## Remarks An argument passed to the compiler exceeds 256 characters.