Skip to content

Commit f8e74b1

Browse files
authored
Merge pull request #4105 from MicrosoftDocs/main637965269060636487sync_temp
Repo sync for protected CLA branch
2 parents 4cc8b8d + f64cbfd commit f8e74b1

21 files changed

+518
-332
lines changed

docs/error-messages/compiler-errors-1/compiler-fatal-errors-c999-through-c1999.md

Lines changed: 197 additions & 150 deletions
Large diffs are not rendered by default.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
description: "Learn more about: Fatal Error C1015"
3+
title: "Fatal Error C1015"
4+
ms.date: 08/17/2022
5+
f1_keywords: ["C1015"]
6+
helpviewer_keywords: ["C1015"]
7+
---
8+
# Fatal Error C1015
9+
10+
> header-names '*header-name*' and '*header-name*' identify the same header and cannot be used as both `/headerUnit:quote` and `/headerUnit:angle` arguments; please provide this header-name only once
11+
12+
Don't include a header unit using both double-quotes and angle brackets. Use only one form, consistent with the **`/headerUnit:quote`** or **`/headerUnit:angle`** compiler option. For more information, see [`/headerUnit` (Use header unit IFC)](../../build/reference/headerunit.md).
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
description: "Learn more about: Fatal Error C1000, C1999"
3+
title: "Fatal Error C1000, C1999"
4+
ms.date: 08/17/2022
5+
f1_keywords: ["C1000", "C1999"]
6+
helpviewer_keywords: ["C1000", "C1999"]
7+
---
8+
# Fatal error C1000, C1999
9+
10+
> UNKNOWN FATAL ERROR Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information
11+
12+
This error sometimes means that you have mixed files from different versions of the compiler, or your compiler installation is corrupted. Use the Visual Studio Installer, the System Settings for **Apps & features**, or the Control panel's **Add or remove programs** to repair or reinstall the product.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
description: "Learn more about: Fatal Error C1011"
3+
title: "Fatal Error C1011"
4+
ms.date: 08/17/2022
5+
f1_keywords: ["C1011"]
6+
helpviewer_keywords: ["C1011"]
7+
---
8+
# Fatal Error C1011
9+
10+
> cannot locate standard module interface. Did you install the library part of the C++ modules feature in VS setup?
11+
12+
## Remarks
13+
14+
Use of standard modules requires the **C++ Modules for *version* build tools** component. You can add the component to your Visual Studio installation by using the Visual Studio Installer.
15+
16+
## To install the C++ Modules build tools
17+
18+
1. Open the Visual Studio Installer. In Visual Studio Installer, choose **Modify** next to your installation of Visual Studio, and then select the **Individual components** tab.
19+
20+
1. In the **Individual components** list, scroll down to **Compilers, build tools, and runtimes** and select the **C++ Modules for *version* build tools** component.
21+
22+
1. Choose **Modify** to continue with the installation.
23+
24+
When installation completes, you're ready to use C++ Modules in Visual Studio.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
description: "Learn more about: Fatal Error C1025, C1115"
3+
title: "Fatal Error C1025, C1115"
4+
ms.date: 08/17/2022
5+
f1_keywords: ["C1025", "C1115"]
6+
helpviewer_keywords: ["C1025", "C1115"]
7+
---
8+
# Fatal Error C1025, C1115
9+
10+
> too many nested lambdas
11+
12+
The compiler detected more than an internal limit for nested lambdas in the same scope. The limit is 65,535 in recent versions of Visual Studio. To resolve this issue, reduce the number of nested lambdas in the current scope.
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
---
22
description: "Learn more about: Fatal Error C1038"
33
title: "Fatal Error C1038"
4-
ms.date: "11/04/2016"
4+
ms.date: 08/17/2022
55
f1_keywords: ["C1038"]
66
helpviewer_keywords: ["C1038"]
77
ms.assetid: 560dccb8-5b45-46f0-9412-caa4a6172aef
88
---
99
# Fatal Error C1038
1010

11-
compiler limit : function : control flow state too complex; simplify function
11+
> compiler limit : function : control flow state too complex; simplify function
1212
1313
The function has more control-flow states than the compiler can handle. Simplify control flow or split the function into smaller functions.
14+
15+
This error is obsolete in Visual Studio 2022 and later versions.
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
---
22
description: "Learn more about: Fatal Error C1073"
33
title: "Fatal Error C1073"
4-
ms.date: "11/04/2016"
4+
ms.date: 08/17/2022
55
f1_keywords: ["C1073"]
66
helpviewer_keywords: ["C1073"]
77
ms.assetid: a946fcf1-674e-4a7a-a28c-b1effacbabe1
88
---
99
# Fatal Error C1073
1010

11-
Internal error involving incremental compilation (compiler file 'filename', line number)
11+
> Internal error involving incremental compilation (compiler file '*filename*', line *number*)
1212
1313
Recompile the file without using incremental compilation.
14+
15+
This error is obsolete in Visual Studio 2022 and later versions.
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
---
22
description: "Learn more about: Fatal Error C1079"
33
title: "Fatal Error C1079"
4-
ms.date: "11/04/2016"
4+
ms.date: 08/17/2022
55
f1_keywords: ["C1079"]
66
helpviewer_keywords: ["C1079"]
77
ms.assetid: cf06a65a-f9a5-4bd8-8128-201a6cbe2113
88
---
99
# Fatal Error C1079
1010

11-
compiler limit : PCH file size limit exceeded
11+
> compiler limit : PCH file size limit exceeded
1212
1313
The PCH file exceeds the 4 GB size limit.
14+
15+
This error is obsolete in Visual Studio 2022 and later versions.

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
---
22
description: "Learn more about: Fatal Error C1094"
33
title: "Fatal Error C1094"
4-
ms.date: "11/04/2016"
4+
ms.date: 08/17/2022
55
f1_keywords: ["C1094"]
66
helpviewer_keywords: ["C1094"]
77
ms.assetid: 9e1193b2-cb95-44f9-bf6f-019e0d41dd97
88
---
99
# Fatal Error C1094
1010

11-
'-Zmval1' : command line option is inconsistent with value used to build precompiled header ('-Zmval2')
11+
> '-Zm*value-1*' : command line option is inconsistent with value used to build precompiled header ('-Zm*value-2*')
1212
13-
The value that is passed to [/Yc](../../build/reference/yc-create-precompiled-header-file.md) must be the same value that is passed to [/Yu](../../build/reference/yu-use-precompiled-header-file.md) (**/Zm** values must be the same in all compilations that use or create the same precompiled header file).
13+
## Remarks
14+
15+
The value that is passed to [`/Yc`](../../build/reference/yc-create-precompiled-header-file.md) must be the same value that is passed to [`/Yu`](../../build/reference/yu-use-precompiled-header-file.md) (**`/Zm`** values must be the same in all compilations that use or create the same precompiled header file).
16+
17+
## Example
1418

1519
The following sample generates C1094:
1620

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
description: "Learn more about: Fatal Error C1116"
3+
title: "Fatal Error C1116"
4+
ms.date: 08/17/2022
5+
f1_keywords: ["C1116"]
6+
helpviewer_keywords: ["C1116"]
7+
---
8+
# Fatal Error C1116
9+
10+
> unrecoverable error importing module/headerunit '*name*'. Specialization of '*primary-template*' with arguments '*argument-list*'
11+
12+
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.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
description: "Learn more about: Fatal Error C1117"
3+
title: "Fatal Error C1117"
4+
ms.date: 08/17/2022
5+
f1_keywords: ["C1117"]
6+
helpviewer_keywords: ["C1117"]
7+
---
8+
# Fatal Error C1117
9+
10+
> unrecoverable error importing module/headerunit '*name*': symbol '*symbol-name*' has already been defined
11+
12+
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.
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
---
22
description: "Learn more about: Fatal Error C1205"
33
title: "Fatal Error C1205"
4-
ms.date: "11/04/2016"
4+
ms.date: 08/17/2022
55
f1_keywords: ["C1205"]
66
helpviewer_keywords: ["C1205"]
77
ms.assetid: f855c145-8cf7-4dd1-bb19-257ee38b8382
88
---
99
# Fatal Error C1205
1010

11-
Generics are not supported by the version of the runtime installed
11+
> Generics are not supported by the version of the runtime installed
1212
13-
The version of the common language runtime that the compiler is using is not a version of the runtime supported by the current compiler. For example, the generics feature requires a runtime that is matched to the compiler.
13+
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.
1414

1515
Your path specification may need to be modified.
16+
17+
This error is obsolete in Visual Studio 2022 and later versions.
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
---
22
description: "Learn more about: Fatal Error C1206"
33
title: "Fatal Error C1206"
4-
ms.date: "11/04/2016"
4+
ms.date: 08/17/2022
55
f1_keywords: ["C1206"]
66
helpviewer_keywords: ["C1206"]
77
ms.assetid: 2211428f-ad86-4f7b-82eb-f1ba89b0510e
88
---
99
# Fatal Error C1206
1010

11-
Per-appdomain data is not supported by the version of the runtime installed
11+
> Per-appdomain data is not supported by the version of the runtime installed
1212
1313
Some features, such as per application domain data, are only supported by the common language runtime that supports the feature.
1414

15-
C1206 indicates that the latest version of the runtime is not installed on your computer. Install the common language runtime version that is intended for use with your compiler.
15+
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.
1616

17-
See [appdomain](../../cpp/appdomain.md) for more information.
17+
For more information, see [`appdomain`](../../cpp/appdomain.md)
18+
19+
This error is obsolete in Visual Studio 2022 and later versions.
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
---
22
description: "Learn more about: Fatal Error C1207"
33
title: "Fatal Error C1207"
4-
ms.date: "11/04/2016"
4+
ms.date: 08/17/2022
55
f1_keywords: ["C1207"]
66
helpviewer_keywords: ["C1207"]
77
ms.assetid: cd31b410-9523-47db-883c-e69a9351ffa2
88
---
99
# Fatal Error C1207
1010

11-
Managed templates not supported by the version of the runtime installed
11+
> Managed templates not supported by the version of the runtime installed
1212
1313
C1207 occurs when you have a compiler for the current release, but a common language runtime from a previous release.
1414

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

17-
To resolve C1207 install the common language runtime version that is intended for use with your compiler.
17+
To resolve C1207, install the common language runtime version that is intended for use with your compiler.
18+
19+
This error is obsolete in Visual Studio 2022 and later versions.
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
---
22
description: "Learn more about: Fatal Error C1208"
33
title: "Fatal Error C1208"
4-
ms.date: "11/04/2016"
4+
ms.date: 08/17/2022
55
f1_keywords: ["C1208"]
66
helpviewer_keywords: ["C1208"]
77
ms.assetid: 4eefd8f0-5c2e-4a11-9e63-293e1139db65
88
---
99
# Fatal Error C1208
1010

11-
Allocating reference classes on the stack is not supported by the version of the runtime installed
11+
> Allocating reference classes on the stack is not supported by the version of the runtime installed
1212
1313
C1208 occurs when you have a compiler for the current release, but a common language runtime from a previous release.
1414

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

1717
Install the common language runtime version that is intended for use with your compiler.
18+
19+
This error is obsolete in Visual Studio 2022 and later versions.
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
---
22
description: "Learn more about: Fatal Error C1209"
33
title: "Fatal Error C1209"
4-
ms.date: "11/04/2016"
4+
ms.date: 08/17/2022
55
f1_keywords: ["C1209"]
66
helpviewer_keywords: ["C1209"]
77
ms.assetid: aa9ee10f-abe3-4683-9792-adca4cbbabb5
88
---
99
# Fatal Error C1209
1010

11-
Friend assemblies not supported by the version of the runtime installed
11+
> Friend assemblies not supported by the version of the runtime installed
1212
1313
C1208 occurs when you have a compiler for the current release, but a common language runtime from a previous release.
1414

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

17-
To resolve C1209, install the common language runtime that shipped with the compiler you are using.
17+
To resolve C1209, install the common language runtime that shipped with the compiler you're using.
1818

1919
For more information, see [Friend Assemblies (C++)](../../dotnet/friend-assemblies-cpp.md).
20+
21+
This error is obsolete in Visual Studio 2022 and later versions.
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
---
22
description: "Learn more about: Fatal Error C1210"
33
title: "Fatal Error C1210"
4-
ms.date: "11/04/2016"
4+
ms.date: 08/17/2022
55
f1_keywords: ["C1210"]
66
helpviewer_keywords: ["C1210"]
77
ms.assetid: e2208309-c284-425c-a7e8-48e96e66f35b
88
---
99
# Fatal Error C1210
1010

11-
> /clr:pure and /clr:safe are not supported by the version of the runtime installed
11+
> `/clr:pure` and `/clr:safe` are not supported by the version of the runtime installed
1212
13-
The **/clr:pure** and **/clr:safe** compiler options are deprecated in Visual Studio 2015 and unsupported in Visual Studio 2017.
13+
The **`/clr:pure`** and **`/clr:safe`** compiler options are deprecated in Visual Studio 2015 and unsupported in Visual Studio 2017.
1414

1515
C1210 occurs when you have a compiler for the current release, but a common language runtime from a previous release.
1616

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

19-
To resolve C1210 install the common language runtime version that is intended for use with your compiler.
19+
To resolve C1210, install the common language runtime version that is intended for use with your compiler.
20+
21+
This error is obsolete in Visual Studio 2022 and later versions.
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
---
22
description: "Learn more about: Fatal Error C1211"
33
title: "Fatal Error C1211"
4-
ms.date: "11/04/2016"
4+
ms.date: 08/17/2022
55
f1_keywords: ["C1211"]
66
helpviewer_keywords: ["C1211"]
77
ms.assetid: df0ca70d-ec6e-4400-926a-b877e2599978
88
---
99
# Fatal Error C1211
1010

11-
The TypeForwardedTo Custom Attribute is not supported by the version of the runtime installed
11+
> The TypeForwardedTo Custom Attribute is not supported by the version of the runtime installed
1212
1313
C1211 occurs when you have a compiler for the current release, but a common language runtime from a previous release.
1414

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

17-
To resolve C1211 install the common language runtime that shipped with the compiler you are using.
17+
To resolve C1211, install the common language runtime that shipped with the compiler you're using.
1818

1919
For more information, see [Type Forwarding (C++/CLI)](../../extensions/type-forwarding-cpp-cli.md).
20+
21+
This error is obsolete in Visual Studio 2022 and later versions.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
description: "Learn more about: Fatal Error C999"
33
title: "Fatal Error C999"
4-
ms.date: "11/04/2016"
4+
ms.date: 08/17/2022
55
f1_keywords: ["C999"]
66
helpviewer_keywords: ["C999"]
77
ms.assetid: a3a49a96-a352-4ff2-aa84-84eb6a9a81f1
88
---
9-
# Fatal Error C999
9+
# Fatal error C999
1010

11-
UNKNOWN MESSAGE Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information
11+
> UNKNOWN MESSAGE Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information
1212
13-
This error usually means that you have mixed files from different versions of the compiler, or your compiler installation is corrupted. Use the **Programs and Features** applet in the Control Panel to repair or reinstall the product.
13+
This error sometimes means that you have mixed files from different versions of the compiler, or your compiler installation is corrupted. Use the Visual Studio Installer, the System Settings for **Apps & features**, or the Control panel's **Add or remove programs** to repair or reinstall the product.

0 commit comments

Comments
 (0)