diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1113.md b/docs/error-messages/compiler-errors-1/fatal-error-c1113.md index c23e479a0e..dbc382ae0b 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1113.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1113.md @@ -1,13 +1,14 @@ --- -description: "Learn more about: Fatal Error C1113" title: "Fatal Error C1113" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1113" +ms.date: 11/04/2016 f1_keywords: ["C1113"] helpviewer_keywords: ["C1113"] -ms.assetid: 1c7c3ce7-2827-4822-9c63-0abc8615ea39 --- # Fatal Error C1113 -\#using failed on 'file' +> #using failed on 'file' + +## Remarks Only a file in the Microsoft Intermediate Language (MSIL) format can be passed to a [#using](../../preprocessor/hash-using-directive-cpp.md) directive. The [/clr](../../build/reference/clr-common-language-runtime-compilation.md) compiler option lets you create an MSIL output file. Other Visual Studio languages also produce MSIL files. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1116.md b/docs/error-messages/compiler-errors-1/fatal-error-c1116.md index 7a5fba81b0..79274cc6b1 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1116.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1116.md @@ -1,6 +1,6 @@ --- -description: "Learn more about: Fatal Error C1116" title: "Fatal Error C1116" +description: "Learn more about: Fatal Error C1116" ms.date: 08/17/2022 f1_keywords: ["C1116"] helpviewer_keywords: ["C1116"] @@ -9,4 +9,6 @@ helpviewer_keywords: ["C1116"] > unrecoverable error importing module/headerunit '*name*'. Specialization of '*primary-template*' with arguments '*argument-list*' +## Remarks + Error C1116 can happen when the creation of the specialization requires the compiler to parse a token-stream and it encounters an identifier without a matching symbol. To resolve the issue, verify that all template specification arguments are defined and spelled correctly. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1117.md b/docs/error-messages/compiler-errors-1/fatal-error-c1117.md index af3886d74f..1c1856a052 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1117.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1117.md @@ -1,6 +1,6 @@ --- -description: "Learn more about: Fatal Error C1117" title: "Fatal Error C1117" +description: "Learn more about: Fatal Error C1117" ms.date: 08/17/2022 f1_keywords: ["C1117"] helpviewer_keywords: ["C1117"] @@ -9,4 +9,6 @@ helpviewer_keywords: ["C1117"] > unrecoverable error importing module/headerunit '*name*': symbol '*symbol-name*' has already been defined +## Remarks + The compiler found a redefinition of an existing type. To resolve the issue, verify that the symbol has only one definition across modules and translation units. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1120.md b/docs/error-messages/compiler-errors-1/fatal-error-c1120.md index f828f4e012..4152492f55 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1120.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1120.md @@ -1,13 +1,14 @@ --- -description: "Learn more about: Fatal Error C1120" title: "Fatal Error C1120" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1120" +ms.date: 11/04/2016 f1_keywords: ["C1120"] helpviewer_keywords: ["C1120"] -ms.assetid: 34212b64-f4e5-4c55-9acc-6f6b2ab5f1c0 --- # Fatal Error C1120 -call to GetProcAddress failed for 'function' +> call to GetProcAddress failed for 'function' + +## Remarks This error indicates Visual C++ needs to be reinstalled. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1121.md b/docs/error-messages/compiler-errors-1/fatal-error-c1121.md index 32816f5b50..ed1e1c77aa 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1121.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1121.md @@ -1,13 +1,14 @@ --- -description: "Learn more about: Fatal Error C1121" title: "Fatal Error C1121" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1121" +ms.date: 11/04/2016 f1_keywords: ["C1121"] helpviewer_keywords: ["C1121"] -ms.assetid: d16e51c5-4c50-4303-a028-ca60f7a3273c --- # Fatal Error C1121 -call to CryptoAPI failed +> call to CryptoAPI failed + +## Remarks The compiler made a call to the CryptoAPI and the call failed. Reinstall Visual Studio and possibly reinstall the operating system. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1126.md b/docs/error-messages/compiler-errors-1/fatal-error-c1126.md index 444c7d0111..cc63a25192 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1126.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1126.md @@ -1,14 +1,15 @@ --- -description: "Learn more about: Fatal Error C1126" title: "Fatal Error C1126" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1126" +ms.date: 11/04/2016 f1_keywords: ["C1126"] helpviewer_keywords: ["C1126"] -ms.assetid: f22b26a6-8ad7-47cf-a237-196c8ea60aca --- # Fatal Error C1126 -'identifier' : automatic allocation exceeds size +> 'identifier' : automatic allocation exceeds size + +## Remarks Space allocated for local variables of a function (plus a limited amount of space used by the compiler, such as an extra 20 bytes for swappable functions) exceeds the limit. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1128.md b/docs/error-messages/compiler-errors-1/fatal-error-c1128.md index 083737e4b4..3df616a677 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1128.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1128.md @@ -1,14 +1,15 @@ --- -description: "Learn more about: Fatal Error C1128" title: "Fatal Error C1128" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1128" +ms.date: 11/04/2016 f1_keywords: ["C1128"] helpviewer_keywords: ["C1128"] -ms.assetid: 6f9580fd-ecef-48be-9780-dcf666704279 --- # Fatal Error C1128 -number of sections exceeded object file format limit : compile with /bigobj +> number of sections exceeded object file format limit : compile with /bigobj + +## Remarks An .obj file exceeded the number of allowable sections, a COFF object file format limitation. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1189.md b/docs/error-messages/compiler-errors-1/fatal-error-c1189.md index 91233b4299..791eb9e225 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1189.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1189.md @@ -1,10 +1,9 @@ --- -description: "Learn more about: Fatal Error C1189" title: "Fatal Error C1189" -ms.date: "04/27/2018" +description: "Learn more about: Fatal Error C1189" +ms.date: 04/27/2018 f1_keywords: ["C1189"] helpviewer_keywords: ["C1189"] -ms.assetid: 2e5c8a78-edd4-411c-b619-558a96be148a --- # Fatal Error C1189 @@ -16,7 +15,7 @@ C1189 is generated by the `#error` directive. The developer who codes the direct ## Example -The following sample generates C1189. In the sample, the developer issues a custom error message because the `_WIN32` identifier is not defined: +The following example generates C1189. In the example, the developer issues a custom error message because the `_WIN32` identifier is not defined: ```cpp // C1189.cpp diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1190.md b/docs/error-messages/compiler-errors-1/fatal-error-c1190.md index da144884d9..b02620a88f 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1190.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1190.md @@ -1,20 +1,23 @@ --- -description: "Learn more about: Fatal Error C1190" title: "Fatal Error C1190" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1190" +ms.date: 11/04/2016 f1_keywords: ["C1190"] helpviewer_keywords: ["C1190"] -ms.assetid: dee2266d-6c40-4f6e-91db-f01e65f8d2bc --- # Fatal Error C1190 -managed targeted code requires a '/clr' option +> managed targeted code requires a '/clr' option + +## Remarks You are using CLR constructs but you did not specify **/clr**. For more information, see [/clr (Common Language Runtime Compilation)](../../build/reference/clr-common-language-runtime-compilation.md). -The following sample generates C1190: +## Example + +The following example generates C1190: ```cpp // C1190.cpp diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1191.md b/docs/error-messages/compiler-errors-1/fatal-error-c1191.md index 523f3574ff..d6bf50086a 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1191.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1191.md @@ -1,18 +1,21 @@ --- -description: "Learn more about: Fatal Error C1191" title: "Fatal Error C1191" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1191" +ms.date: 11/04/2016 f1_keywords: ["C1191"] helpviewer_keywords: ["C1191"] -ms.assetid: 2888c6c4-b4e6-449e-8ee0-7917f31086df --- # Fatal Error C1191 -'dll' can only be imported at global scope +> 'dll' can only be imported at global scope + +## Remarks The instruction to import mscorlib.dll into a program that uses /clr programming cannot appear in a namespace or function, but must appear at global scope. -The following sample generates C1191: +## Example + +The following example generates C1191: ```cpp // C1191.cpp diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1192.md b/docs/error-messages/compiler-errors-1/fatal-error-c1192.md index 93ece1e127..2c374cd29f 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1192.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1192.md @@ -1,12 +1,14 @@ --- -description: "Learn more about: Fatal Error C1192" title: "Fatal Error C1192" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1192" +ms.date: 11/04/2016 f1_keywords: ["C1192"] helpviewer_keywords: ["C1192"] --- # Fatal Error C1192 -\#using failed on 'file' +> #using failed on 'file' + +## Remarks Only a file in the Microsoft Intermediate Language (MSIL) format can be passed to a [#using](../../preprocessor/hash-using-directive-cpp.md) directive. The [/clr](../../build/reference/clr-common-language-runtime-compilation.md) compiler option lets you create an MSIL output file. Other Visual Studio languages also produce MSIL files. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1196.md b/docs/error-messages/compiler-errors-1/fatal-error-c1196.md index ff1a771628..8ae577e8b4 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1196.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1196.md @@ -1,13 +1,14 @@ --- -description: "Learn more about: Fatal Error C1196" title: "Fatal Error C1196" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1196" +ms.date: 11/04/2016 f1_keywords: ["C1196"] helpviewer_keywords: ["C1196"] -ms.assetid: 10a79b3f-3423-4ee3-98fa-e9e59cddabb1 --- # Fatal Error C1196 -'identifier' : identifier found in type library 'typelib' is not a valid C++ identifier +> 'identifier' : identifier found in type library 'typelib' is not a valid C++ identifier + +## Remarks One of the identifiers in your type library is not a valid C++ identifier. The type library is not available for use with [#import](../../preprocessor/hash-import-directive-cpp.md). diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1197.md b/docs/error-messages/compiler-errors-1/fatal-error-c1197.md index f08b1d92a2..3a63aaa836 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1197.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1197.md @@ -1,14 +1,15 @@ --- -description: "Learn more about: Fatal Error C1197" title: "Fatal Error C1197" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1197" +ms.date: 11/04/2016 f1_keywords: ["C1197"] helpviewer_keywords: ["C1197"] -ms.assetid: 22b801b7-e792-41f6-a461-973c03c69f25 --- # Fatal Error C1197 -cannot reference 'mscorlib.dll_1' as the program has already referenced 'mscorlib.dll_2' +> cannot reference 'mscorlib.dll_1' as the program has already referenced 'mscorlib.dll_2' + +## Remarks The compiler is matched to a version of the common language runtime. However, an attempt was made to reference a version of a common language runtime file from a previous version. @@ -16,7 +17,7 @@ To resolve this error, only reference files from the version of the common langu ## Example -The following sample generates C1197: +The following example generates C1197: ```cpp // C1197.cpp diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1201.md b/docs/error-messages/compiler-errors-1/fatal-error-c1201.md index a318e4523e..f726151d89 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1201.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1201.md @@ -1,14 +1,15 @@ --- -description: "Learn more about: Fatal Error C1201" title: "Fatal Error C1201" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1201" +ms.date: 11/04/2016 f1_keywords: ["C1201"] helpviewer_keywords: ["C1201"] -ms.assetid: e58b9b9a-2c6f-454d-8719-9773aca765d1 --- # Fatal Error C1201 -unable to continue after syntax error in class template definition +> unable to continue after syntax error in class template definition + +## Remarks An unexpected error occurred while parsing a class template definition. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1202.md b/docs/error-messages/compiler-errors-1/fatal-error-c1202.md index 54eb826104..4e2c9efccf 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1202.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1202.md @@ -1,20 +1,21 @@ --- -description: "Learn more about: Fatal Error C1202" title: "Fatal Error C1202" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1202" +ms.date: 11/04/2016 f1_keywords: ["C1202"] helpviewer_keywords: ["C1202"] -ms.assetid: c859adb8-17a7-4fa1-a1f3-5820b7bf3849 --- # Fatal Error C1202 -recursive type or function dependency context too complex +> recursive type or function dependency context too complex + +## Remarks A template definition was recursive or exceeded complexity limits. -## Examples +## Example -The following sample generates C1202. +The following example generates C1202. ```cpp // C1202.cpp diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1205.md b/docs/error-messages/compiler-errors-1/fatal-error-c1205.md index 37af5602e9..d66fd0f779 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1205.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1205.md @@ -1,15 +1,16 @@ --- -description: "Learn more about: Fatal Error C1205" title: "Fatal Error C1205" +description: "Learn more about: Fatal Error C1205" ms.date: 08/17/2022 f1_keywords: ["C1205"] helpviewer_keywords: ["C1205"] -ms.assetid: f855c145-8cf7-4dd1-bb19-257ee38b8382 --- # Fatal Error C1205 > Generics are not supported by the version of the runtime installed +## Remarks + The version of the common language runtime that the compiler is using isn't a version of the runtime supported by the current compiler. For example, the generics feature requires a runtime that is matched to the compiler. Your path specification may need to be modified. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1206.md b/docs/error-messages/compiler-errors-1/fatal-error-c1206.md index 0859695a79..c519b7e27c 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1206.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1206.md @@ -1,15 +1,16 @@ --- -description: "Learn more about: Fatal Error C1206" title: "Fatal Error C1206" +description: "Learn more about: Fatal Error C1206" ms.date: 08/17/2022 f1_keywords: ["C1206"] helpviewer_keywords: ["C1206"] -ms.assetid: 2211428f-ad86-4f7b-82eb-f1ba89b0510e --- # Fatal Error C1206 > Per-appdomain data is not supported by the version of the runtime installed +## Remarks + Some features, such as per application domain data, are only supported by the common language runtime that supports the feature. C1206 indicates that the latest version of the runtime isn't installed on your computer. Install the common language runtime version that is intended for use with your compiler. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1207.md b/docs/error-messages/compiler-errors-1/fatal-error-c1207.md index 5302f9c823..abcb64a7f3 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1207.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1207.md @@ -1,15 +1,16 @@ --- -description: "Learn more about: Fatal Error C1207" title: "Fatal Error C1207" +description: "Learn more about: Fatal Error C1207" ms.date: 08/17/2022 f1_keywords: ["C1207"] helpviewer_keywords: ["C1207"] -ms.assetid: cd31b410-9523-47db-883c-e69a9351ffa2 --- # Fatal Error C1207 > Managed templates not supported by the version of the runtime installed +## Remarks + C1207 occurs when you have a compiler for the current release, but a common language runtime from a previous release. Some functionality of the compiler may not work on a previous version of the run time. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1208.md b/docs/error-messages/compiler-errors-1/fatal-error-c1208.md index 304879dfc5..57732dfda0 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1208.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1208.md @@ -1,15 +1,16 @@ --- -description: "Learn more about: Fatal Error C1208" title: "Fatal Error C1208" +description: "Learn more about: Fatal Error C1208" ms.date: 08/17/2022 f1_keywords: ["C1208"] helpviewer_keywords: ["C1208"] -ms.assetid: 4eefd8f0-5c2e-4a11-9e63-293e1139db65 --- # Fatal Error C1208 > Allocating reference classes on the stack is not supported by the version of the runtime installed +## Remarks + C1208 occurs when you have a compiler for the current release, but a common language runtime from a previous release. Some functionality of the compiler may not work on a previous version of the run time. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1209.md b/docs/error-messages/compiler-errors-1/fatal-error-c1209.md index 1029773c30..3967da97ec 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1209.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1209.md @@ -1,15 +1,16 @@ --- -description: "Learn more about: Fatal Error C1209" title: "Fatal Error C1209" +description: "Learn more about: Fatal Error C1209" ms.date: 08/17/2022 f1_keywords: ["C1209"] helpviewer_keywords: ["C1209"] -ms.assetid: aa9ee10f-abe3-4683-9792-adca4cbbabb5 --- # Fatal Error C1209 > Friend assemblies not supported by the version of the runtime installed +## Remarks + C1208 occurs when you have a compiler for the current release, but a common language runtime from a previous release. Some functionality of the compiler may not work on a previous version of the run time. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1210.md b/docs/error-messages/compiler-errors-1/fatal-error-c1210.md index 09aac9e2bd..70c37bc8c7 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1210.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1210.md @@ -1,15 +1,16 @@ --- -description: "Learn more about: Fatal Error C1210" title: "Fatal Error C1210" +description: "Learn more about: Fatal Error C1210" ms.date: 08/17/2022 f1_keywords: ["C1210"] helpviewer_keywords: ["C1210"] -ms.assetid: e2208309-c284-425c-a7e8-48e96e66f35b --- # Fatal Error C1210 > `/clr:pure` and `/clr:safe` are not supported by the version of the runtime installed +## Remarks + The **`/clr:pure`** and **`/clr:safe`** compiler options are deprecated in Visual Studio 2015 and unsupported in Visual Studio 2017. C1210 occurs when you have a compiler for the current release, but a common language runtime from a previous release.