Skip to content

Commit a309716

Browse files
Merge pull request #5507 from Rageking8/structure-error-references-in-range-c1211-c1800
Structure error references in range [C1211, C1800]
2 parents a369eee + 3b8565e commit a309716

22 files changed

+115
-87
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
---
2-
description: "Learn more about: Fatal Error C1211"
32
title: "Fatal Error C1211"
3+
description: "Learn more about: Fatal Error C1211"
44
ms.date: 08/17/2022
55
f1_keywords: ["C1211"]
66
helpviewer_keywords: ["C1211"]
7-
ms.assetid: df0ca70d-ec6e-4400-926a-b877e2599978
87
---
98
# Fatal Error C1211
109

1110
> The TypeForwardedTo Custom Attribute is not supported by the version of the runtime installed
1211
12+
## Remarks
13+
1314
C1211 occurs when you have a compiler for the current release, but a common language runtime from a previous release.
1415

1516
Some functionality of the compiler may not work on a previous version of the run time.

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
---
2-
description: "Learn more about: Fatal Error C1305"
32
title: "Fatal Error C1305"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Fatal Error C1305"
4+
ms.date: 11/04/2016
55
f1_keywords: ["C1305"]
66
helpviewer_keywords: ["C1305"]
7-
ms.assetid: 1629c850-e2db-4678-83d8-9bfc85323bc5
87
---
98
# Fatal Error C1305
109

11-
profile database 'pgd_file' is for a different architecture
10+
> profile database 'pgd_file' is for a different architecture
11+
12+
## Remarks
1213

1314
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.
1415

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
---
2-
description: "Learn more about: Fatal Error C1307"
32
title: "Fatal Error C1307"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Fatal Error C1307"
4+
ms.date: 11/04/2016
55
f1_keywords: ["C1307"]
66
helpviewer_keywords: ["C1307"]
7-
ms.assetid: 6f77d3d4-ba8a-476c-b540-aff19eb4efc4
87
---
98
# Fatal Error C1307
109

11-
program has been edited since profile data was collected
10+
> program has been edited since profile data was collected
11+
12+
## Remarks
1213

1314
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.
1415

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

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
11
---
2-
description: "Learn more about: Fatal Error C1308"
32
title: "Fatal Error C1308"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Fatal Error C1308"
4+
ms.date: 11/04/2016
55
f1_keywords: ["C1308"]
66
helpviewer_keywords: ["C1308"]
7-
ms.assetid: 46177997-069e-433a-8e20-93c846d78ffd
87
---
98
# Fatal Error C1308
109

11-
linking assemblies is not supported
10+
> linking assemblies is not supported
11+
12+
## Remarks
1213

1314
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`.
1415

1516
For more information, see [.netmodule Files as Linker Input](../../build/reference/netmodule-files-as-linker-input.md).
1617

17-
The following sample generates C1308:
18+
## Example
19+
20+
The following example generates C1308:
1821

1922
```cpp
2023
// C1308.cpp
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
---
2-
description: "Learn more about: Fatal Error C1309"
32
title: "Fatal Error C1309"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Fatal Error C1309"
4+
ms.date: 11/04/2016
55
f1_keywords: ["C1309"]
66
helpviewer_keywords: ["C1309"]
7-
ms.assetid: a95363d6-a4f3-45fb-9690-aa7e552093b7
87
---
98
# Fatal Error C1309
109

11-
Mismatched versions of C2.DLL and PGODB\<version>.DLL
10+
> Mismatched versions of C2.DLL and PGODB\<version>.DLL
11+
12+
## Remarks
1213

1314
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++.

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

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
11
---
2-
description: "Learn more about: Fatal Error C1310"
32
title: "Fatal Error C1310"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Fatal Error C1310"
4+
ms.date: 11/04/2016
55
f1_keywords: ["C1310"]
66
helpviewer_keywords: ["C1310"]
7-
ms.assetid: ac48aa51-8023-42fe-b844-3f8bf228fbef
87
---
98
# Fatal Error C1310
109

11-
profile guided optimizations are not available with OpenMP
10+
> profile guided optimizations are not available with OpenMP
11+
12+
## Remarks
1213

1314
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).
1415

15-
The following sample generates C1310:
16+
## Example
17+
18+
The following example generates C1310:
1619

1720
```cpp
1821
// C1310.cpp

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
11
---
2-
description: "Learn more about: Fatal Error C1311"
32
title: "Fatal Error C1311"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Fatal Error C1311"
4+
ms.date: 11/04/2016
55
f1_keywords: ["C1311"]
66
helpviewer_keywords: ["C1311"]
7-
ms.assetid: 6590a06c-ce9d-4f17-8f62-c809343143b8
87
---
98
# Fatal Error C1311
109

11-
COFF format cannot statically initialize 'var' with number byte(s) of an address
10+
> COFF format cannot statically initialize 'var' with number byte(s) of an address
11+
12+
## Remarks
1213

1314
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.
1415

1516
This error can occur on code that is otherwise valid C++.
1617

18+
## Example
19+
1720
The following example shows one condition that might cause C1311.
1821

1922
```
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
---
2-
description: "Learn more about: Fatal Error C1312"
32
title: "Fatal Error C1312"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Fatal Error C1312"
4+
ms.date: 11/04/2016
55
f1_keywords: ["C1312"]
66
helpviewer_keywords: ["C1312"]
7-
ms.assetid: 1aa7cd0e-d45f-4ae7-a85d-015ebb962eaf
87
---
98
# Fatal Error C1312
109

11-
Too many conditional branches in function. Simplify or refactor source code.
10+
> Too many conditional branches in function. Simplify or refactor source code.
11+
12+
## Remarks
1213

1314
The code is too complex for the compiler to process without running out of stack memory. Simplify your code.
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
---
2-
description: "Learn more about: Fatal Error C1313"
32
title: "Fatal Error C1313"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Fatal Error C1313"
4+
ms.date: 11/04/2016
55
f1_keywords: ["C1313"]
66
helpviewer_keywords: ["C1313"]
7-
ms.assetid: 6c7631c8-6fd7-476a-9303-564717fda0f9
87
---
98
# Fatal Error C1313
109

11-
compiler limit : type blocks may not be nested deeper than number levels
10+
> compiler limit : type blocks may not be nested deeper than number levels
11+
12+
## Remarks
1213

1314
Exception handling (or structured exception handling) blocks were nested too deeply. Simplify your code.

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
---
2-
description: "Learn more about: Fatal Error C1350"
32
title: "Fatal Error C1350"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Fatal Error C1350"
4+
ms.date: 11/04/2016
55
f1_keywords: ["C1350"]
66
helpviewer_keywords: ["C1350"]
7-
ms.assetid: 8bb47c23-ac9c-4a33-9ede-4d63ed9d4ba8
87
---
98
# Fatal Error C1350
109

11-
error loading dll 'dll': dll not found
10+
> error loading dll 'dll': dll not found
11+
12+
## Remarks
1213

1314
The DLL that supports the attempted operation was not found.
1415

0 commit comments

Comments
 (0)