Skip to content

Commit 32d553a

Browse files
authored
Merge pull request #5792 from Rageking8/structure-error-references-in-range-lnk1000-lnk1220
Structure error references in range [LNK1000, LNK1220]
2 parents e7f6c33 + a90437c commit 32d553a

31 files changed

+140
-111
lines changed
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
---
2-
description: "Learn more about: Linker Tools Error LNK1000"
32
title: "Linker Tools Error LNK1000"
4-
ms.date: "06/18/2018"
3+
description: "Learn more about: Linker Tools Error LNK1000"
4+
ms.date: 06/18/2018
55
f1_keywords: ["LNK1000"]
66
helpviewer_keywords: ["LNK1000"]
7-
ms.assetid: 86421b9a-460a-4285-8dce-9b8257d78122
87
---
98
# Linker Tools Error LNK1000
109

1110
> unknown error; consult documentation for technical support options
1211
12+
## Remarks
13+
1314
Note the circumstances of the error, then try to isolate the problem and create a reproducible test case. For information on how to investigate and report these errors, see [How to report a problem with the Visual C++ toolset or documentation](../../overview/how-to-report-a-problem-with-the-visual-cpp-toolset.md).
1415

1516
You may get this error if you mix standard header files (for example, Windows.h) and your own files. Include a precompiled header, if any, first, then the standard headers, followed by your own header files.

docs/error-messages/tool-errors/linker-tools-error-lnk1103.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: Linker Tools Error LNK1103"
32
title: "Linker Tools Error LNK1103"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Linker Tools Error LNK1103"
4+
ms.date: 11/04/2016
55
f1_keywords: ["LNK1103"]
66
helpviewer_keywords: ["LNK1103"]
7-
ms.assetid: c8e9bc54-6a71-471c-899e-6f98122ee3c4
87
---
98
# Linker Tools Error LNK1103
109

11-
debugging information corrupt; recompile module
10+
> debugging information corrupt; recompile module
11+
12+
## Remarks
1213

1314
This error can be caused because the compilation was terminated before a valid object file was created.
1415

docs/error-messages/tool-errors/linker-tools-error-lnk1104.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
---
22
title: "Linker Tools Error LNK1104"
33
description: "Describes the Microsoft C and C++ (MSVC) linker error LNK1104, its causes, and possible solutions."
4-
ms.date: "12/13/2019"
4+
ms.date: 12/13/2019
55
f1_keywords: ["LNK1104"]
66
helpviewer_keywords: ["LNK1104"]
7-
ms.assetid: 9ca6f929-0efc-4055-8354-3cf5b4e636dc
87
---
98
# Linker Tools Error LNK1104
109

1110
> cannot open file '*filename*'
1211
12+
## Remarks
13+
1314
This error is reported when the linker fails to open a file, either for reading or for writing. The two most common causes of the issue are:
1415

1516
- your program is already running or is loaded in the debugger, and

docs/error-messages/tool-errors/linker-tools-error-lnk1106.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: Linker Tools Error LNK1106"
32
title: "Linker Tools Error LNK1106"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Linker Tools Error LNK1106"
4+
ms.date: 11/04/2016
55
f1_keywords: ["LNK1106"]
66
helpviewer_keywords: ["LNK1106"]
7-
ms.assetid: 528f7e65-04be-4966-b8af-9276837c7cda
87
---
98
# Linker Tools Error LNK1106
109

11-
invalid file or disk full: cannot seek to location
10+
> invalid file or disk full: cannot seek to location
11+
12+
## Remarks
1213

1314
The tool could not read or write to `location` in a memory-mapped file.
1415

docs/error-messages/tool-errors/linker-tools-error-lnk1107.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
description: "Learn more about: Linker tools error LNK1107"
32
title: "Linker tools error LNK1107"
3+
description: "Learn more about: Linker tools error LNK1107"
44
ms.date: 12/10/2021
55
f1_keywords: ["LNK1107"]
66
helpviewer_keywords: ["LNK1107"]
@@ -9,10 +9,10 @@ helpviewer_keywords: ["LNK1107"]
99

1010
> invalid or corrupt file: cannot read at location *address*
1111
12-
The tool couldn't read the file. The file may be corrupt, or have an unexpected file type.
13-
1412
## Remarks
1513

14+
The tool couldn't read the file. The file may be corrupt, or have an unexpected file type.
15+
1616
LNK1107 can occur if a file passed to the linker or related tools is corrupt. To resolve this issue, rebuild the file.
1717

1818
LNK1107 can also occur if your build process puts an unexpected file type in the list of files passed to the tool. The linker and related tools expect to work on specific file types. For example, the linker can use object files, library files, compiled resources, and manifests to create an executable. It can't create an executable by using source files or DLLs. To resolve this issue, verify that your build process passes only the expected file types to the tool. For example, pass *`.obj`*, *`.lib`*, and *`.res`* files, not *`.cpp`*, *`.h`*, *`.dll`*, or *`.rc`* files.

docs/error-messages/tool-errors/linker-tools-error-lnk1112.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
description: "Learn more about: Linker Tools Error LNK1112"
32
title: "Linker Tools Error LNK1112"
3+
description: "Learn more about: Linker Tools Error LNK1112"
44
ms.date: 05/23/2022
55
f1_keywords: ["LNK1112"]
66
helpviewer_keywords: ["LNK1112"]
7-
ms.assetid: 425793d8-37e6-4072-9b6e-c3d4e9c12562
87
---
98
# Linker Tools Error LNK1112
109

docs/error-messages/tool-errors/linker-tools-error-lnk1113.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: Linker Tools Error LNK1113"
32
title: "Linker Tools Error LNK1113"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Linker Tools Error LNK1113"
4+
ms.date: 11/04/2016
55
f1_keywords: ["LNK1113"]
66
helpviewer_keywords: ["LNK1113"]
7-
ms.assetid: 269ff166-b143-48e9-bdf7-db6a0db59fe4
87
---
98
# Linker Tools Error LNK1113
109

11-
invalid machine type type
10+
> invalid machine type type
11+
12+
## Remarks
1213

1314
The machine type specified in the object header is not valid.
1415

docs/error-messages/tool-errors/linker-tools-error-lnk1120.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
---
22
title: "Linker tools error LNK1120"
33
description: "Describes the LNK1120 linker error, which reports the number of unresolved external symbol errors in the link."
4-
ms.date: "10/31/2019"
4+
ms.date: 10/31/2019
55
f1_keywords: ["LNK1120"]
66
helpviewer_keywords: ["LNK1120"]
7-
ms.assetid: 56aa7d36-921f-4daf-b44d-cca0d4fb1b51
87
---
98
# Linker tools error LNK1120
109

1110
> *number* unresolved externals
1211
12+
## Remarks
13+
1314
Error LNK1120 reports the number of [unresolved external symbol](linker-tools-error-lnk2001.md#what-is-an-unresolved-external-symbol) errors in the current link.
1415

1516
Each unresolved external symbol first gets reported by a [LNK2001](linker-tools-error-lnk2001.md) or [LNK2019](linker-tools-error-lnk2019.md) error. The LNK1120 message comes last, and shows the unresolved symbol error count.

docs/error-messages/tool-errors/linker-tools-error-lnk1123.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
---
2-
description: "Learn more about: Linker Tools Error LNK1123"
32
title: "Linker Tools Error LNK1123"
4-
ms.date: "12/29/2017"
3+
description: "Learn more about: Linker Tools Error LNK1123"
4+
ms.date: 12/29/2017
55
f1_keywords: ["LNK1123"]
66
helpviewer_keywords: ["LNK1123"]
77
---
88
# Linker Tools Error LNK1123
99

1010
> failure during conversion to COFF: file invalid or corrupt
1111
12+
## Remarks
13+
1214
Input files must have the Common Object File Format (COFF) format. If an input file is not COFF, the linker automatically tries to convert 32-bit OMF objects to COFF, or runs CVTRES.EXE to convert resource files. This message indicates that the linker could not convert the file. This can also occur when using an incompatible version of CVTRES.EXE from another installation of Visual Studio, the Windows Development Kit, or .NET Framework.
1315

1416
> [!NOTE]
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
---
2-
description: "Learn more about: Linker Tools Error LNK1127"
32
title: "Linker Tools Error LNK1127"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Linker Tools Error LNK1127"
4+
ms.date: 11/04/2016
55
f1_keywords: ["LNK1127"]
66
helpviewer_keywords: ["LNK1127"]
7-
ms.assetid: 45404700-1420-4f24-97e1-efb7252ffd8f
87
---
98
# Linker Tools Error LNK1127
109

11-
library is corrupt
10+
> library is corrupt
11+
12+
## Remarks
1213

1314
The library file is corrupt. Rebuild the library.

0 commit comments

Comments
 (0)