Skip to content

Commit f87d1fa

Browse files
Merge pull request #5504 from Rageking8/structure-error-references-in-range-c1111-c1210
Structure error references in range [C1111, C1210]
2 parents a309716 + b20799b commit f87d1fa

21 files changed

+96
-70
lines changed
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 C1113"
32
title: "Fatal Error C1113"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Fatal Error C1113"
4+
ms.date: 11/04/2016
55
f1_keywords: ["C1113"]
66
helpviewer_keywords: ["C1113"]
7-
ms.assetid: 1c7c3ce7-2827-4822-9c63-0abc8615ea39
87
---
98
# Fatal Error C1113
109

11-
\#using failed on 'file'
10+
> #using failed on 'file'
11+
12+
## Remarks
1213

1314
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.
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
description: "Learn more about: Fatal Error C1116"
32
title: "Fatal Error C1116"
3+
description: "Learn more about: Fatal Error C1116"
44
ms.date: 08/17/2022
55
f1_keywords: ["C1116"]
66
helpviewer_keywords: ["C1116"]
@@ -9,4 +9,6 @@ helpviewer_keywords: ["C1116"]
99

1010
> unrecoverable error importing module/headerunit '*name*'. Specialization of '*primary-template*' with arguments '*argument-list*'
1111
12+
## Remarks
13+
1214
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: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
description: "Learn more about: Fatal Error C1117"
32
title: "Fatal Error C1117"
3+
description: "Learn more about: Fatal Error C1117"
44
ms.date: 08/17/2022
55
f1_keywords: ["C1117"]
66
helpviewer_keywords: ["C1117"]
@@ -9,4 +9,6 @@ helpviewer_keywords: ["C1117"]
99

1010
> unrecoverable error importing module/headerunit '*name*': symbol '*symbol-name*' has already been defined
1111
12+
## Remarks
13+
1214
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 & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
---
2-
description: "Learn more about: Fatal Error C1120"
32
title: "Fatal Error C1120"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Fatal Error C1120"
4+
ms.date: 11/04/2016
55
f1_keywords: ["C1120"]
66
helpviewer_keywords: ["C1120"]
7-
ms.assetid: 34212b64-f4e5-4c55-9acc-6f6b2ab5f1c0
87
---
98
# Fatal Error C1120
109

11-
call to GetProcAddress failed for 'function'
10+
> call to GetProcAddress failed for 'function'
11+
12+
## Remarks
1213

1314
This error indicates Visual C++ needs to be reinstalled.
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 C1121"
32
title: "Fatal Error C1121"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Fatal Error C1121"
4+
ms.date: 11/04/2016
55
f1_keywords: ["C1121"]
66
helpviewer_keywords: ["C1121"]
7-
ms.assetid: d16e51c5-4c50-4303-a028-ca60f7a3273c
87
---
98
# Fatal Error C1121
109

11-
call to CryptoAPI failed
10+
> call to CryptoAPI failed
11+
12+
## Remarks
1213

1314
The compiler made a call to the CryptoAPI and the call failed. Reinstall Visual Studio and possibly reinstall the operating system.

docs/error-messages/compiler-errors-1/fatal-error-c1126.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 C1126"
32
title: "Fatal Error C1126"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Fatal Error C1126"
4+
ms.date: 11/04/2016
55
f1_keywords: ["C1126"]
66
helpviewer_keywords: ["C1126"]
7-
ms.assetid: f22b26a6-8ad7-47cf-a237-196c8ea60aca
87
---
98
# Fatal Error C1126
109

11-
'identifier' : automatic allocation exceeds size
10+
> 'identifier' : automatic allocation exceeds size
11+
12+
## Remarks
1213

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

docs/error-messages/compiler-errors-1/fatal-error-c1128.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 C1128"
32
title: "Fatal Error C1128"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Fatal Error C1128"
4+
ms.date: 11/04/2016
55
f1_keywords: ["C1128"]
66
helpviewer_keywords: ["C1128"]
7-
ms.assetid: 6f9580fd-ecef-48be-9780-dcf666704279
87
---
98
# Fatal Error C1128
109

11-
number of sections exceeded object file format limit : compile with /bigobj
10+
> number of sections exceeded object file format limit : compile with /bigobj
11+
12+
## Remarks
1213

1314
An .obj file exceeded the number of allowable sections, a COFF object file format limitation.
1415

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
description: "Learn more about: Fatal Error C1189"
32
title: "Fatal Error C1189"
4-
ms.date: "04/27/2018"
3+
description: "Learn more about: Fatal Error C1189"
4+
ms.date: 04/27/2018
55
f1_keywords: ["C1189"]
66
helpviewer_keywords: ["C1189"]
7-
ms.assetid: 2e5c8a78-edd4-411c-b619-558a96be148a
87
---
98
# Fatal Error C1189
109

@@ -16,7 +15,7 @@ C1189 is generated by the `#error` directive. The developer who codes the direct
1615

1716
## Example
1817

19-
The following sample generates C1189. In the sample, the developer issues a custom error message because the `_WIN32` identifier is not defined:
18+
The following example generates C1189. In the example, the developer issues a custom error message because the `_WIN32` identifier is not defined:
2019

2120
```cpp
2221
// C1189.cpp

docs/error-messages/compiler-errors-1/fatal-error-c1190.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 C1190"
32
title: "Fatal Error C1190"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Fatal Error C1190"
4+
ms.date: 11/04/2016
55
f1_keywords: ["C1190"]
66
helpviewer_keywords: ["C1190"]
7-
ms.assetid: dee2266d-6c40-4f6e-91db-f01e65f8d2bc
87
---
98
# Fatal Error C1190
109

11-
managed targeted code requires a '/clr' option
10+
> managed targeted code requires a '/clr' option
11+
12+
## Remarks
1213

1314
You are using CLR constructs but you did not specify **/clr**.
1415

1516
For more information, see [/clr (Common Language Runtime Compilation)](../../build/reference/clr-common-language-runtime-compilation.md).
1617

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

1922
```cpp
2023
// C1190.cpp

docs/error-messages/compiler-errors-1/fatal-error-c1191.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 C1191"
32
title: "Fatal Error C1191"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Fatal Error C1191"
4+
ms.date: 11/04/2016
55
f1_keywords: ["C1191"]
66
helpviewer_keywords: ["C1191"]
7-
ms.assetid: 2888c6c4-b4e6-449e-8ee0-7917f31086df
87
---
98
# Fatal Error C1191
109

11-
'dll' can only be imported at global scope
10+
> 'dll' can only be imported at global scope
11+
12+
## Remarks
1213

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

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

1720
```cpp
1821
// C1191.cpp

0 commit comments

Comments
 (0)