Skip to content

Commit 9b67497

Browse files
authored
Merge pull request #5511 from Rageking8/structure-error-references-in-range-c1801-c2000
Structure error references in range [C1801, C2000]
2 parents 8f252f3 + 41910e1 commit 9b67497

File tree

8 files changed

+37
-29
lines changed

8 files changed

+37
-29
lines changed

docs/error-messages/compiler-errors-1/fatal-error-c1852.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 C1852"
32
title: "Fatal Error C1852"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Fatal Error C1852"
4+
ms.date: 11/04/2016
55
f1_keywords: ["C1852"]
66
helpviewer_keywords: ["C1852"]
7-
ms.assetid: fa011004-b8d6-46f1-ba80-4785e4ce137f
87
---
98
# Fatal Error C1852
109

11-
'filename' is not a valid precompiled header file
10+
> 'filename' is not a valid precompiled header file
11+
12+
## Remarks
1213

1314
The file is not a precompiled header.
1415

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
---
2-
description: "Learn more about: Fatal Error C1853"
32
title: "Fatal Error C1853"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Fatal Error C1853"
4+
ms.date: 11/04/2016
55
f1_keywords: ["C1853"]
66
helpviewer_keywords: ["C1853"]
7-
ms.assetid: ceb9b4a5-92bf-4573-8a9f-3109cc7743ce
87
---
98
# Fatal Error C1853
109

1110
> '*filename*' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)
1211
12+
## Remarks
13+
1314
Possible causes:
1415

1516
- The precompiled header was compiled with a previous compiler version. Try recompiling the header with the current compiler.
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
---
2-
description: "Learn more about: Fatal Error C1854"
32
title: "Fatal Error C1854"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Fatal Error C1854"
4+
ms.date: 11/04/2016
55
f1_keywords: ["C1854"]
66
helpviewer_keywords: ["C1854"]
7-
ms.assetid: 8c21a9cc-1737-475c-9e57-8725cd8937c1
87
---
98
# Fatal Error C1854
109

1110
> cannot overwrite information formed during creation of the precompiled header in object file: '*filename*'
1211
12+
## Remarks
13+
1314
You specified the [/Yu (Use Precompiled Header File)](../../build/reference/yu-use-precompiled-header-file.md) option after specifying the [/Yc (Create Precompiled Header File)](../../build/reference/yc-create-precompiled-header-file.md) option for the same file.
1415

1516
To fix this issue, in general, set only one file in your project to be compiled by using the **/Yc** option, and set all other files to compile by using the **/Yu** option. For details on the use of the **/Yc** option, and how to set it in the Visual Studio IDE, see [/Yc (Create Precompiled Header File)](../../build/reference/yc-create-precompiled-header-file.md). For more information on using precompiled headers, see [Creating Precompiled Header Files](../../build/creating-precompiled-header-files.md).
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
---
2-
description: "Learn more about: Fatal Error C1900"
32
title: "Fatal Error C1900"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Fatal Error C1900"
4+
ms.date: 11/04/2016
55
f1_keywords: ["C1900"]
66
helpviewer_keywords: ["C1900"]
7-
ms.assetid: 3aaa583b-4c1a-45de-aa34-527d806f2cb5
87
---
98
# Fatal Error C1900
109

1110
> Il mismatch between '*tool1*' version '*number1*' and '*tool2*' version '*number2*'
1211
12+
## Remarks
13+
1314
Tools run in various passes of the compiler do not match. *number1* and *number2* refer to the dates on the files. For example, in pass 1, the compiler front end runs (c1.dll) and in pass 2, the compiler back end runs (c2.dll). The dates on the files must match.
1415

1516
To fix this issue, make sure that all updates have been applied to Visual Studio. If the problem persists, use **Programs and Features** in the Windows Control Panel to repair or reinstall Visual Studio.

docs/error-messages/compiler-errors-1/fatal-error-c1902.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 C1902"
32
title: "Fatal Error C1902"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Fatal Error C1902"
4+
ms.date: 11/04/2016
55
f1_keywords: ["C1902"]
66
helpviewer_keywords: ["C1902"]
7-
ms.assetid: 2dc066cc-fcb1-4725-8bcb-9f44dd0905b7
87
---
98
# Fatal Error C1902
109

11-
program database manager mismatch; please check your installation
10+
> program database manager mismatch; please check your installation
11+
12+
## Remarks
1213

1314
A program database file (.pdb) was created using a newer version of mspdb*XXX*.dll than the one the compiler found on your system. This error usually indicates that mspdbsrv.exe or mspdbcore.dll are missing or have different versions than mspdb*XXX*.dll. (The *XXX* placeholder in the mspdb*XXX*.dll file name changes with each product release. For example, in Visual Studio 2015, the file name is mspdb140.dll.)
1415

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 C1903"
32
title: "Fatal Error C1903"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Fatal Error C1903"
4+
ms.date: 11/04/2016
55
f1_keywords: ["C1903"]
66
helpviewer_keywords: ["C1903"]
7-
ms.assetid: 4b4719d6-35d2-4ca5-81ce-903ecd28dfb9
87
---
98
# Fatal Error C1903
109

11-
unable to recover from previous error(s); stopping compilation
10+
> unable to recover from previous error(s); stopping compilation
11+
12+
## Remarks
1213

1314
The compiler found too many errors to continue. Fix the errors and recompile.

docs/error-messages/compiler-errors-1/fatal-error-c1904.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 C1904"
32
title: "Fatal Error C1904"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Fatal Error C1904"
4+
ms.date: 11/04/2016
55
f1_keywords: ["C1904"]
66
helpviewer_keywords: ["C1904"]
7-
ms.assetid: 10f66015-146f-41a7-8011-327b29dedec8
87
---
98
# Fatal Error C1904
109

11-
bad provider interaction: 'file'
10+
> bad provider interaction: 'file'
11+
12+
## Remarks
1213

1314
This error indicates the failure of an attribute provider.
1415

docs/error-messages/compiler-errors-1/fatal-error-c1905.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 C1905"
32
title: "Fatal Error C1905"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Fatal Error C1905"
4+
ms.date: 11/04/2016
55
f1_keywords: ["C1905"]
66
helpviewer_keywords: ["C1905"]
7-
ms.assetid: fefc6769-477f-45a2-9878-6f0a5f42472c
87
---
98
# Fatal Error C1905
109

11-
Front end and back end not compatible (must target same processor)
10+
> Front end and back end not compatible (must target same processor)
11+
12+
## Remarks
1213

1314
This error occurs when a .obj file is generated by a compiler front end (C1.dll) that targets one processor, such as x86, ARM, or x64, but is being read by a back end (C2.dll) that targets a different processor.
1415

0 commit comments

Comments
 (0)