Skip to content

Commit b15fb16

Browse files
authored
Merge pull request #5796 from Rageking8/structure-warning-references-in-range-lnk4001-lnk4105
Structure warning references in range [LNK4001, LNK4105]
2 parents e474526 + 6a773d6 commit b15fb16

26 files changed

+125
-99
lines changed

docs/error-messages/tool-errors/linker-tools-warning-lnk4001.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 Warning LNK4001"
32
title: "Linker Tools Warning LNK4001"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Linker Tools Warning LNK4001"
4+
ms.date: 11/04/2016
55
f1_keywords: ["LNK4001"]
66
helpviewer_keywords: ["LNK4001"]
7-
ms.assetid: 0a8b1c3a-64ce-4311-b7c0-065995059246
87
---
98
# Linker Tools Warning LNK4001
109

11-
no object files specified; libraries used
10+
> no object files specified; libraries used
11+
12+
## Remarks
1213

1314
The linker was passed one or more .lib files, but no .obj files.
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: Linker Tools Warning LNK4002"
32
title: "Linker Tools Warning LNK4002"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Linker Tools Warning LNK4002"
4+
ms.date: 11/04/2016
55
f1_keywords: ["LNK4002"]
66
helpviewer_keywords: ["LNK4002"]
7-
ms.assetid: 09f81af5-e51c-496c-a6eb-2863e85375c3
87
---
98
# Linker Tools Warning LNK4002
109

11-
symbol defined in object
10+
> symbol defined in object
11+
12+
## Remarks
1213

1314
The symbol, displayed in its decorated form, was specified in its undecorated form in `object`, but a unique match to a decorated symbol could not be found. This warning is always preceded by warning [LNK4022](../../error-messages/tool-errors/linker-tools-warning-lnk4022.md) and followed by fatal error [LNK1152](../../error-messages/tool-errors/linker-tools-error-lnk1152.md).

docs/error-messages/tool-errors/linker-tools-warning-lnk4006.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 Warning LNK4006"
32
title: "Linker Tools Warning LNK4006"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Linker Tools Warning LNK4006"
4+
ms.date: 11/04/2016
55
f1_keywords: ["LNK4006"]
66
helpviewer_keywords: ["LNK4006"]
7-
ms.assetid: 3a637d17-1676-4ea6-bd8b-290137d28d3b
87
---
98
# Linker Tools Warning LNK4006
109

11-
symbol already defined in object; second definition ignored
10+
> symbol already defined in object; second definition ignored
11+
12+
## Remarks
1213

1314
The given `symbol`, displayed in its decorated form, was multiply defined. When this warning is encountered, `symbol` will be added twice, but only its first form will be used.
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: Linker Tools Warning LNK4010"
32
title: "Linker Tools Warning LNK4010"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Linker Tools Warning LNK4010"
4+
ms.date: 11/04/2016
55
f1_keywords: ["LNK4010"]
66
helpviewer_keywords: ["LNK4010"]
7-
ms.assetid: 2824cf99-4174-4b60-a6e2-c01e9f1ee52d
87
---
98
# Linker Tools Warning LNK4010
109

11-
invalid subsystem version number number; default subsystem version assumed
10+
> invalid subsystem version number number; default subsystem version assumed
11+
12+
## Remarks
1213

1314
You can specify a version for the image's subsystem ([/SUBSYSTEM](../../build/reference/subsystem-specify-subsystem.md)). Each subsystem has a minimum version requirement. If the specified version is lower than the minimum, this warning will occur and the linker will just use the default subsystem.

docs/error-messages/tool-errors/linker-tools-warning-lnk4014.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 Warning LNK4014"
32
title: "Linker Tools Warning LNK4014"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Linker Tools Warning LNK4014"
4+
ms.date: 11/04/2016
55
f1_keywords: ["LNK4014"]
66
helpviewer_keywords: ["LNK4014"]
7-
ms.assetid: 394903e9-3ded-4ea4-b7c0-a3535d4b4da4
87
---
98
# Linker Tools Warning LNK4014
109

11-
cannot find member object "objectname"
10+
> cannot find member object "objectname"
11+
12+
## Remarks
1213

1314
LIB could not find `objectname` in the library.
1415

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 Warning LNK4020"
32
title: "Linker Tools Warning LNK4020"
4-
ms.date: "05/29/2018"
3+
description: "Learn more about: Linker Tools Warning LNK4020"
4+
ms.date: 05/29/2018
55
f1_keywords: ["LNK4020"]
66
helpviewer_keywords: ["LNK4020"]
77
---
88
# Linker Tools Warning LNK4020
99

1010
> a type record in '*filename*' is corrupted; some symbols and types may not be accessible from the debugger
1111
12+
## Remarks
13+
1214
The PDB file *filename* has a corrupted type record.
1315

1416
This issue is often secondary to other build issues; unless this is the first reported build issue, deal with the other errors and warnings first. If this is the first reported issue, you may need to clean your build directories and rebuild your project. If you use parallel build processes, see if the error persists when you serialize your build.

docs/error-messages/tool-errors/linker-tools-warning-lnk4022.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 Warning LNK4022"
32
title: "Linker Tools Warning LNK4022"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Linker Tools Warning LNK4022"
4+
ms.date: 11/04/2016
55
f1_keywords: ["LNK4022"]
66
helpviewer_keywords: ["LNK4022"]
7-
ms.assetid: 890f487e-db98-45dd-a226-c7ccead82b1e
87
---
98
# Linker Tools Warning LNK4022
109

11-
cannot find unique match for symbol 'symbol'
10+
> cannot find unique match for symbol 'symbol'
11+
12+
## Remarks
1213

1314
LINK or LIB found multiple matches for the given undecorated symbol and it could not resolve the ambiguity. No output file (.exe, .dll, .exp, or .lib) is produced. This warning is followed by one warning [LNK4002](../../error-messages/tool-errors/linker-tools-warning-lnk4002.md) for each duplicate symbol and is finally followed by fatal error [LNK1152](../../error-messages/tool-errors/linker-tools-error-lnk1152.md).
1415

docs/error-messages/tool-errors/linker-tools-warning-lnk4037.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 Warning LNK4037"
32
title: "Linker Tools Warning LNK4037"
4-
ms.date: "10/04/2017"
3+
description: "Learn more about: Linker Tools Warning LNK4037"
4+
ms.date: 10/04/2017
55
f1_keywords: ["LNK4037"]
66
helpviewer_keywords: ["LNK4037"]
7-
ms.assetid: 9ba02fd3-b04f-4679-bab9-26fa82cf09bb
87
---
98
# Linker Tools Warning LNK4037
109

11-
>'*symbol*' does not exist; ignored
10+
> '*symbol*' does not exist; ignored
11+
12+
## Remarks
1213

1314
The decorated name *symbol* could not be ordered by using the [/ORDER](../../build/reference/order-put-functions-in-order.md) option because it could not be found in the program. Check the specification of *symbol* in the order response file. For more information, see the [/ORDER (Put functions in order)](../../build/reference/order-put-functions-in-order.md) linker option.
1415

docs/error-messages/tool-errors/linker-tools-warning-lnk4039.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 Warning LNK4039"
32
title: "Linker Tools Warning LNK4039"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Linker Tools Warning LNK4039"
4+
ms.date: 11/04/2016
55
f1_keywords: ["LNK4039"]
66
helpviewer_keywords: ["LNK4039"]
7-
ms.assetid: ed7b1783-a7b2-4d3e-8afb-ca1648dae2c2
87
---
98
# Linker Tools Warning LNK4039
109

11-
section 'name' specified with /SECTION option does not exist
10+
> section 'name' specified with /SECTION option does not exist
11+
12+
## Remarks
1213

1314
[DUMPBIN](../../build/reference/dumpbin-reference.md) or [EDITBIN](../../build/reference/editbin-reference.md) could not find a section called `name` in the input file.
1415

docs/error-messages/tool-errors/linker-tools-warning-lnk4044.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 Warning LNK4044"
32
title: "Linker Tools Warning LNK4044"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Linker Tools Warning LNK4044"
4+
ms.date: 11/04/2016
55
f1_keywords: ["LNK4044"]
66
helpviewer_keywords: ["LNK4044"]
7-
ms.assetid: f3a67a15-98c0-42ed-afcb-f5f9540e2671
87
---
98
# Linker Tools Warning LNK4044
109

11-
unrecognized option 'option'; ignored
10+
> unrecognized option 'option'; ignored
11+
12+
## Remarks
1213

1314
The given option is not a valid option for this tool. The tool ignored the option.
1415

0 commit comments

Comments
 (0)