diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1211.md b/docs/error-messages/compiler-errors-1/fatal-error-c1211.md index 174c78ea00..24359b9c00 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1211.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1211.md @@ -1,15 +1,16 @@ --- -description: "Learn more about: Fatal Error C1211" title: "Fatal Error C1211" +description: "Learn more about: Fatal Error C1211" ms.date: 08/17/2022 f1_keywords: ["C1211"] helpviewer_keywords: ["C1211"] -ms.assetid: df0ca70d-ec6e-4400-926a-b877e2599978 --- # Fatal Error C1211 > The TypeForwardedTo Custom Attribute is not supported by the version of the runtime installed +## Remarks + C1211 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-c1305.md b/docs/error-messages/compiler-errors-1/fatal-error-c1305.md index 35a90daf3c..398c483eb5 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1305.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1305.md @@ -1,14 +1,15 @@ --- -description: "Learn more about: Fatal Error C1305" title: "Fatal Error C1305" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1305" +ms.date: 11/04/2016 f1_keywords: ["C1305"] helpviewer_keywords: ["C1305"] -ms.assetid: 1629c850-e2db-4678-83d8-9bfc85323bc5 --- # Fatal Error C1305 -profile database 'pgd_file' is for a different architecture +> profile database 'pgd_file' is for a different architecture + +## Remarks A .pgd file that was generated from the /LTCG:PGINSTRUMENT operation for another platform was passed to [/LTCG:PGOPTIMIZE](../../build/reference/ltcg-link-time-code-generation.md) . [Profile-guided optimizations](../../build/profile-guided-optimizations.md) are available for x86 and x64 platforms. However, a .pgd file generated with a /LTCG:PGINSTRUMENT operation for one platform is not valid as input to a /LTCG:PGOPTIMIZE for a different platform. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1307.md b/docs/error-messages/compiler-errors-1/fatal-error-c1307.md index d358e2bbd8..27c1ed010e 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1307.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1307.md @@ -1,14 +1,15 @@ --- -description: "Learn more about: Fatal Error C1307" title: "Fatal Error C1307" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1307" +ms.date: 11/04/2016 f1_keywords: ["C1307"] helpviewer_keywords: ["C1307"] -ms.assetid: 6f77d3d4-ba8a-476c-b540-aff19eb4efc4 --- # Fatal Error C1307 -program has been edited since profile data was collected +> program has been edited since profile data was collected + +## Remarks When using [/LTCG:PGOPTIMIZE](../../build/reference/ltcg-link-time-code-generation.md), the linker detected an input module that was recompiled after /LTCG:PGINSTRUMENT and that the module was changed to the point where existing profile data is no longer relevant. For example, if the call graph changed in the recompiled module, the compiler will generate C1307. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1308.md b/docs/error-messages/compiler-errors-1/fatal-error-c1308.md index 045cd2f5e4..81335e1a83 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1308.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1308.md @@ -1,20 +1,23 @@ --- -description: "Learn more about: Fatal Error C1308" title: "Fatal Error C1308" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1308" +ms.date: 11/04/2016 f1_keywords: ["C1308"] helpviewer_keywords: ["C1308"] -ms.assetid: 46177997-069e-433a-8e20-93c846d78ffd --- # Fatal Error C1308 -linking assemblies is not supported +> linking assemblies is not supported + +## Remarks A .netmodule is allowed as input to the linker, but an assembly is not. This error can be generated when an attempt is made to link an assembly compiled with `/clr:safe`. For more information, see [.netmodule Files as Linker Input](../../build/reference/netmodule-files-as-linker-input.md). -The following sample generates C1308: +## Example + +The following example generates C1308: ```cpp // C1308.cpp diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1309.md b/docs/error-messages/compiler-errors-1/fatal-error-c1309.md index f70ecf7bd4..0bd33544bf 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1309.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1309.md @@ -1,13 +1,14 @@ --- -description: "Learn more about: Fatal Error C1309" title: "Fatal Error C1309" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1309" +ms.date: 11/04/2016 f1_keywords: ["C1309"] helpviewer_keywords: ["C1309"] -ms.assetid: a95363d6-a4f3-45fb-9690-aa7e552093b7 --- # Fatal Error C1309 -Mismatched versions of C2.DLL and PGODB\.DLL +> Mismatched versions of C2.DLL and PGODB\.DLL + +## Remarks The toolset you are using to build and use [Profile-Guided Optimizations](../../build/profile-guided-optimizations.md) contains mismatched components. If you cannot manually resolve this error, reinstall Visual C++. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1310.md b/docs/error-messages/compiler-errors-1/fatal-error-c1310.md index 233ae5c7e4..5fef1f9c37 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1310.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1310.md @@ -1,18 +1,21 @@ --- -description: "Learn more about: Fatal Error C1310" title: "Fatal Error C1310" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1310" +ms.date: 11/04/2016 f1_keywords: ["C1310"] helpviewer_keywords: ["C1310"] -ms.assetid: ac48aa51-8023-42fe-b844-3f8bf228fbef --- # Fatal Error C1310 -profile guided optimizations are not available with OpenMP +> profile guided optimizations are not available with OpenMP + +## Remarks You will not be able to link with [/LTCG:PGI](../../build/reference/ltcg-link-time-code-generation.md) any module that was compiled with [/GL](../../build/reference/gl-whole-program-optimization.md). -The following sample generates C1310: +## Example + +The following example generates C1310: ```cpp // C1310.cpp diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1311.md b/docs/error-messages/compiler-errors-1/fatal-error-c1311.md index 93d5084e29..fdb102ebbd 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1311.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1311.md @@ -1,19 +1,22 @@ --- -description: "Learn more about: Fatal Error C1311" title: "Fatal Error C1311" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1311" +ms.date: 11/04/2016 f1_keywords: ["C1311"] helpviewer_keywords: ["C1311"] -ms.assetid: 6590a06c-ce9d-4f17-8f62-c809343143b8 --- # Fatal Error C1311 -COFF format cannot statically initialize 'var' with number byte(s) of an address +> COFF format cannot statically initialize 'var' with number byte(s) of an address + +## Remarks An address whose value is not known at compile time cannot be statically assigned to a variable whose type has storage of less than four bytes. This error can occur on code that is otherwise valid C++. +## Example + The following example shows one condition that might cause C1311. ``` diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1312.md b/docs/error-messages/compiler-errors-1/fatal-error-c1312.md index 03699b2824..3173bfba07 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1312.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1312.md @@ -1,13 +1,14 @@ --- -description: "Learn more about: Fatal Error C1312" title: "Fatal Error C1312" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1312" +ms.date: 11/04/2016 f1_keywords: ["C1312"] helpviewer_keywords: ["C1312"] -ms.assetid: 1aa7cd0e-d45f-4ae7-a85d-015ebb962eaf --- # Fatal Error C1312 -Too many conditional branches in function. Simplify or refactor source code. +> Too many conditional branches in function. Simplify or refactor source code. + +## Remarks The code is too complex for the compiler to process without running out of stack memory. Simplify your code. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1313.md b/docs/error-messages/compiler-errors-1/fatal-error-c1313.md index 629767d027..90814b3406 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1313.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1313.md @@ -1,13 +1,14 @@ --- -description: "Learn more about: Fatal Error C1313" title: "Fatal Error C1313" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1313" +ms.date: 11/04/2016 f1_keywords: ["C1313"] helpviewer_keywords: ["C1313"] -ms.assetid: 6c7631c8-6fd7-476a-9303-564717fda0f9 --- # Fatal Error C1313 -compiler limit : type blocks may not be nested deeper than number levels +> compiler limit : type blocks may not be nested deeper than number levels + +## Remarks Exception handling (or structured exception handling) blocks were nested too deeply. Simplify your code. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1350.md b/docs/error-messages/compiler-errors-1/fatal-error-c1350.md index 96c160733c..dcb1474a08 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1350.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1350.md @@ -1,14 +1,15 @@ --- -description: "Learn more about: Fatal Error C1350" title: "Fatal Error C1350" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1350" +ms.date: 11/04/2016 f1_keywords: ["C1350"] helpviewer_keywords: ["C1350"] -ms.assetid: 8bb47c23-ac9c-4a33-9ede-4d63ed9d4ba8 --- # Fatal Error C1350 -error loading dll 'dll': dll not found +> error loading dll 'dll': dll not found + +## Remarks The DLL that supports the attempted operation was not found. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1351.md b/docs/error-messages/compiler-errors-1/fatal-error-c1351.md index 9e772faf2c..2019a26324 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1351.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1351.md @@ -1,15 +1,16 @@ --- -description: "Learn more about: Fatal Error C1351" title: "Fatal Error C1351" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1351" +ms.date: 11/04/2016 f1_keywords: ["C1351"] helpviewer_keywords: ["C1351"] -ms.assetid: 1f8502e4-1049-49c7-bbe3-fa101c79021e --- # Fatal Error C1351 > error loading dll '*dll*': incompatible version +## Remarks + The wrong version of a DLL was found. This indicates a problem with your installation, and you should reinstall Visual Studio. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1352.md b/docs/error-messages/compiler-errors-1/fatal-error-c1352.md index 3becb52d1f..581c286495 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1352.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1352.md @@ -1,14 +1,15 @@ --- -description: "Learn more about: Fatal Error C1352" title: "Fatal Error C1352" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1352" +ms.date: 11/04/2016 f1_keywords: ["C1352"] helpviewer_keywords: ["C1352"] -ms.assetid: d044e8b0-b6ef-4d57-8eb5-6254071be707 --- # Fatal Error C1352 -Invalid or corrupt MSIL in function 'function' from module 'file' +> Invalid or corrupt MSIL in function 'function' from module 'file' + +## Remarks A .netmodule was passed to the compiler, but the compiler detected corruption in the file. Ask the person who produced the .netmodule to investigate. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1353.md b/docs/error-messages/compiler-errors-1/fatal-error-c1353.md index d36fe25864..48b39279dd 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1353.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1353.md @@ -1,13 +1,14 @@ --- -description: "Learn more about: Fatal Error C1353" title: "Fatal Error C1353" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1353" +ms.date: 11/04/2016 f1_keywords: ["C1353"] helpviewer_keywords: ["C1353"] -ms.assetid: 37f55b1d-9e7a-4932-a41e-d593190895d3 --- # Fatal Error C1353 -metadata operation failed: runtime not installed or version mismatch +> metadata operation failed: runtime not installed or version mismatch + +## Remarks Reinstall your CLR or Visual Studio. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1382.md b/docs/error-messages/compiler-errors-1/fatal-error-c1382.md index f90ab23a6c..f61a7a1fa0 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1382.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1382.md @@ -1,14 +1,15 @@ --- -description: "Learn more about: Fatal Error C1382" title: "Fatal Error C1382" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1382" +ms.date: 11/04/2016 f1_keywords: ["C1382"] helpviewer_keywords: ["C1382"] -ms.assetid: 7a100f8c-3179-4927-a2f1-98de4c753850 --- # Fatal Error C1382 -the PCH file 'file' has been rebuilt since 'obj' was generated. Please rebuild this object +> the PCH file 'file' has been rebuilt since 'obj' was generated. Please rebuild this object + +## Remarks When using [/LTCG](../../build/reference/ltcg-link-time-code-generation.md), the compiler detected a .pch file that is newer than a CIL .obj that points to it. The information in the CIL .obj file is out of date. Rebuild the object. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1383.md b/docs/error-messages/compiler-errors-1/fatal-error-c1383.md index 787baf5bba..f826a4c3a1 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1383.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1383.md @@ -1,14 +1,15 @@ --- -description: "Learn more about: Fatal Error C1383" title: "Fatal Error C1383" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1383" +ms.date: 11/04/2016 f1_keywords: ["C1383"] helpviewer_keywords: ["C1383"] -ms.assetid: ca224d14-d687-4fd6-80c2-8b82f28924ea --- # Fatal Error C1383 -compiler option /GL is incompatible with the installed version of common language runtime +> compiler option /GL is incompatible with the installed version of common language runtime + +## Remarks C1383 occurs when you are using a previous version of the common language runtime with a newer compiler, and when you compile with **/clr** and **/GL.** diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1506.md b/docs/error-messages/compiler-errors-1/fatal-error-c1506.md index e439909d46..2509bc5f2b 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1506.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1506.md @@ -1,14 +1,15 @@ --- -description: "Learn more about: Fatal Error C1506" title: "Fatal Error C1506" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1506" +ms.date: 11/04/2016 f1_keywords: ["C1506"] helpviewer_keywords: ["C1506"] -ms.assetid: c73d5702-c898-4a32-b0fa-a118601a1e14 --- # Fatal Error C1506 -unrecoverable block scoping error +> unrecoverable block scoping error + +## Remarks The block was too large to compile. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1508.md b/docs/error-messages/compiler-errors-1/fatal-error-c1508.md index 1954f3cf0b..394368d429 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1508.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1508.md @@ -1,13 +1,14 @@ --- -description: "Learn more about: Fatal Error C1508" title: "Fatal Error C1508" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1508" +ms.date: 11/04/2016 f1_keywords: ["C1508"] helpviewer_keywords: ["C1508"] -ms.assetid: 1112c17d-d60f-470d-b886-fd1a9556c0ea --- # Fatal Error C1508 -compiler limit : 'function' : more than 65535 argument bytes +> compiler limit : 'function' : more than 65535 argument bytes + +## Remarks The formal parameters to the function exceed the limit of 65535 bytes. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1509.md b/docs/error-messages/compiler-errors-1/fatal-error-c1509.md index b716a1d9a1..1a17d1c7f5 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1509.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1509.md @@ -1,14 +1,15 @@ --- -description: "Learn more about: Fatal Error C1509" title: "Fatal Error C1509" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1509" +ms.date: 11/04/2016 f1_keywords: ["C1509"] helpviewer_keywords: ["C1509"] -ms.assetid: 40dd100d-c6ba-451c-bd26-2c99ec1c36d6 --- # Fatal Error C1509 -compiler limit : too many exception handler states in function 'function'. simplify function +> compiler limit : too many exception handler states in function 'function'. simplify function + +## Remarks The code exceeds an internal limit on exception handler states (32,768 states). diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1510.md b/docs/error-messages/compiler-errors-1/fatal-error-c1510.md index 382b7e07cb..640a564c8f 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1510.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1510.md @@ -1,14 +1,15 @@ --- -description: "Learn more about: Fatal Error C1510" title: "Fatal Error C1510" -ms.date: "04/11/2017" +description: "Learn more about: Fatal Error C1510" +ms.date: 04/11/2017 f1_keywords: ["C1510"] helpviewer_keywords: ["C1510"] -ms.assetid: 150c827f-9514-41a9-8d7e-82f820749bcb --- # Fatal Error C1510 -Cannot open language resource clui.dll +> Cannot open language resource clui.dll + +## Remarks The compiler can't load the language resource DLL. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1601.md b/docs/error-messages/compiler-errors-1/fatal-error-c1601.md index b0ccf6cebf..f36aca8a88 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1601.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1601.md @@ -1,13 +1,14 @@ --- -description: "Learn more about: Fatal Error C1601" title: "Fatal Error C1601" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1601" +ms.date: 11/04/2016 f1_keywords: ["C1601"] helpviewer_keywords: ["C1601"] -ms.assetid: 25797c39-f085-4d75-9eab-159ecd36ef49 --- # Fatal Error C1601 -unsupported inline assembly opcode +> unsupported inline assembly opcode + +## Remarks This error indicates a mismatch in your compiler .exe files, which may have occurred because of an incomplete installation. For example, you may have installed a service pack but not the Processor Pack. Install all required products. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1602.md b/docs/error-messages/compiler-errors-1/fatal-error-c1602.md index 5565ea2d13..5f29077c41 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1602.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1602.md @@ -1,13 +1,14 @@ --- -description: "Learn more about: Fatal Error C1602" title: "Fatal Error C1602" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1602" +ms.date: 11/04/2016 f1_keywords: ["C1602"] helpviewer_keywords: ["C1602"] -ms.assetid: a9365c58-fe66-49c4-a702-9bb75429cc1a --- # Fatal Error C1602 -unsupported intrinsic +> unsupported intrinsic + +## Remarks This error indicates a mismatch in your compiler .exe files, which may have occurred because of an incomplete installation. For example, you may have installed a service pack but not the Processor Pack. Install all required products. diff --git a/docs/error-messages/compiler-errors-1/fatal-error-c1603.md b/docs/error-messages/compiler-errors-1/fatal-error-c1603.md index 4f6744a59e..8e8fe6f378 100644 --- a/docs/error-messages/compiler-errors-1/fatal-error-c1603.md +++ b/docs/error-messages/compiler-errors-1/fatal-error-c1603.md @@ -1,13 +1,14 @@ --- -description: "Learn more about: Fatal Error C1603" title: "Fatal Error C1603" -ms.date: "11/04/2016" +description: "Learn more about: Fatal Error C1603" +ms.date: 11/04/2016 f1_keywords: ["C1603"] helpviewer_keywords: ["C1603"] -ms.assetid: e5a06925-f916-4637-8240-6d2d280e6124 --- # Fatal Error C1603 -inline assembly branch target out of range by 'number' bytes +> inline assembly branch target out of range by 'number' bytes + +## Remarks The computed distance between a JCXZ or JECXZ instruction and its specified target label was greater than 128 bytes. Update your code so that the label is closer to the instruction.